Removed redundant check

master
Clownacy ago%!(EXTRA string=7 years)
parent 3e6370720e
commit 610a976b83
  1. 2
      stb_leakcheck.h

@ -96,7 +96,7 @@ static void stblkck_internal_print(const char *reason, stb_leakcheck_malloc_info
// and the older ones don't even have %lld either... however, the old compilers // and the older ones don't even have %lld either... however, the old compilers
// without "long long" don't support 64-bit targets either, so here's the // without "long long" don't support 64-bit targets either, so here's the
// compromise: // compromise:
#if defined(_MSC_VER) && _MSC_VER < 1400 // before VS 2005 #if _MSC_VER < 1400 // before VS 2005
printf("%s: %s (%4d): %8d bytes at %p\n", reason, mi->file, mi->line, (int)mi->size, (void*)(mi+1)); printf("%s: %s (%4d): %8d bytes at %p\n", reason, mi->file, mi->line, (int)mi->size, (void*)(mi+1));
#else #else
printf("%s: %s (%4d): %16lld bytes at %p\n", reason, mi->file, mi->line, (long long)mi->size, (void*)(mi+1)); printf("%s: %s (%4d): %16lld bytes at %p\n", reason, mi->file, mi->line, (long long)mi->size, (void*)(mi+1));

Loading…
Cancel
Save