"Joris Huizer" joris_huizer@yahoo.com 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 unsigned char*)table < len)
- while ((unsigned long)(ptr - (const unsigned char*)table) < len)
- int i, length;
- unsigned long int i, length;
- while (file - (const char*)symbols < sizeof(PDB_SYMBOLS) + symbols->module_size)
- while ((unsigned long int)(file - (const char*)symbols) < sizeof(PDB_SYMBOLS) + symbols->module_size)
Your changes are inconsistent: sometimes you change 'int' to 'unsigned long int', sometimes to 'unsigned long'. Why not change 'int' simply to 'unsigned'?