Re: [FFmpeg-devel] [PATCHv2] ffserver: cast PID to int64_t before printing

2015-08-21 Thread Michael Niedermayer
On Thu, Aug 20, 2015 at 10:12:40PM -0400, Ganesh Ajjanagadde wrote: > Unfortunately, there is no portable format specifier for PID's. > Furthermore, it is not safe to assume pid_t <= 32 bit in size, > see e.g http://unix.derkeiler.com/Mailing-Lists/AIX-L/2010-08/msg8.html. > Right now, it is ok

[FFmpeg-devel] [PATCHv2] ffserver: cast PID to int64_t before printing

2015-08-20 Thread Ganesh Ajjanagadde
Unfortunately, there is no portable format specifier for PID's. Furthermore, it is not safe to assume pid_t <= 32 bit in size, see e.g http://unix.derkeiler.com/Mailing-Lists/AIX-L/2010-08/msg8.html. Right now, it is ok to assume pid_t <= 32 bit in size, but this may change in the future. Also