Re: [PATCH] Verbose git-daemon logging
- From
- Morten Welinder <mwelinder@gmail.com>
- Date
- Sep 23, 2005, 12:08 UTC
- Message-ID
- <118833cc05092305083757bd9b@mail.gmail.com>
- In-Reply-To
- <20050921213933.GB10575@pasky.or.cz>
> + buflen = snprintf(buf, 1024, "[%d] ", getpid());
pid_t is not int.
Please cast it to int, or use %ld and cast it to long int.
Morten