Commit 3bcbaf6c authored by Georgi Kodinov's avatar Georgi Kodinov

fixed a compilation warning on windows 64.

parent fbfef628
...@@ -1017,7 +1017,7 @@ static const char *my_get_module_parent(char *buf, size_t size) ...@@ -1017,7 +1017,7 @@ static const char *my_get_module_parent(char *buf, size_t size)
{ {
char *last= NULL; char *last= NULL;
char *end; char *end;
if (!GetModuleFileName(NULL, buf, size)) if (!GetModuleFileName(NULL, buf, (DWORD) size))
return NULL; return NULL;
end= strend(buf); end= strend(buf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment