Re: tools/winedump: sign compare fixes

2009-05-08 Thread Alexandre Julliard
Austin English writes: > -static const char *debugstr_wn(const WCHAR *wstr, int n) > +static const char *debugstr_wn(const WCHAR *wstr, uint n) > { > static char buf[80]; > char *p; > -int i; > +uint i; uint is not a standard type. Use "unsigned int" instead. -- Alexandre Ju

Re: winedump: sign-compare fixes

2007-02-07 Thread [EMAIL PROTECTED]
On 2/7/07, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: "Joris Huizer" <[EMAIL PROTECTED]> wrote: > -static const MINIDUMP_DIRECTORY* get_mdmp_dir(const MINIDUMP_HEADER* hdr, int str_idx) > +static const MINIDUMP_DIRECTORY* get_mdmp_dir(const MINIDUMP_HEADER* hdr,unsigned long int str_idx) Ple

Re: winedump: sign-compare fixes

2007-02-07 Thread Dmitry Timoshkov
"Joris Huizer" <[EMAIL PROTECTED]> wrote: -static const MINIDUMP_DIRECTORY* get_mdmp_dir(const MINIDUMP_HEADER* hdr, int str_idx) +static const MINIDUMP_DIRECTORY* get_mdmp_dir(const MINIDUMP_HEADER* hdr,unsigned long int str_idx) Please keep white space unchanged. -while (ptr - (const