Skip to content
Permalink
Browse files

fix compile error with clang

  • Loading branch information
turleypol committed Jan 13, 2020
1 parent 5de0e9e commit 39093cdbbeb4f91d62c01846b2a80f7ba277987a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/StackWalker/StackWalker.cpp
@@ -664,7 +664,7 @@ typedef struct IMAGEHLP_MODULE64_V2 {
return FALSE;
}

hMods = (HMODULE*) malloc(sizeof(HMODULE) * (TTBUFLEN / sizeof HMODULE));
hMods = (HMODULE*) malloc(sizeof(HMODULE) * (TTBUFLEN / sizeof (HMODULE)));
tt = (char*) malloc(sizeof(char) * TTBUFLEN);
tt2 = (char*) malloc(sizeof(char) * TTBUFLEN);
if ( (hMods == NULL) || (tt == NULL) || (tt2 == NULL) )

0 comments on commit 39093cd

Please sign in to comment.
You can’t perform that action at this time.