On Mon, Feb 21, 2011 at 07:37:39PM +0100, Sylvain MAURIN wrote: > diff -ur ZoneMinder-1.24.2.old/src/zm.h ZoneMinder-1.24.2/src/zm.h > --- ZoneMinder-1.24.2.old/src/zm.h 2009-03-20 05:07:00.000000000 -0700 > +++ ZoneMinder-1.24.2/src/zm.h 2010-06-29 10:45:24.000000000 -0700 > @@ -17,6 +17,8 @@ > // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, > USA. > // > > +#include "stdint.h" > + > #ifndef ZM_H > #define ZM_H > > @@ -34,14 +36,14 @@ > #endif > } > > -typedef unsigned char U8; > -typedef unsigned short U16; > -typedef unsigned long U32; > -typedef unsigned long long U64; > - > -typedef signed char S8; > -typedef signed short S16; > -typedef signed long S32; > -typedef signed long long S64; > +typedef uint8_t U8; > +typedef uint16_t U16; > +typedef uint32_t U32; > +typedef uint64_t U64; > + > +typedef int8_t S8; > +typedef int16_t S16; > +typedef int32_t S32; > +typedef int64_t S64; > > #endif // ZM_H > > Patch OK for squeeze/amd64
appears to cause problems for sid (or squeeze) on i386. i get lots warnings like these: zm_rtp_ctrl.cpp: In member function 'int RtpCtrlThread::recvPacket(const unsigned char*, ssize_t)': zm_rtp_ctrl.cpp:62: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'U32' zm_rtp_ctrl.cpp:67: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'U32' so the patch is either incomplete, or assumes amd64, or both... live well, vagrant -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org