Browse code

fix debug spam fmt

aCaB authored on 2010/01/05 19:13:54
Showing 1 changed files
... ...
@@ -2560,7 +2560,7 @@ int cli_peheader(fmap_t *map, struct cli_exe_info *peinfo)
2560 2560
 				    if(v) {
2561 2561
 					s = cli_str2hex(vptr + 6, s_key_sz + s_val_sz - 6);
2562 2562
 					if(s) {
2563
-					    cli_dbgmsg("VersionInfo (%x): '%s'='%s' - VI:%s\n", vptr - baseptr + 6, k, v, s);
2563
+					    cli_dbgmsg("VersionInfo (%x): '%s'='%s' - VI:%s\n", (uint32_t)(vptr - baseptr + 6), k, v, s);
2564 2564
 					    free(s);
2565 2565
 					}
2566 2566
 					free(v);