Browse Source

fixed a compilation warning on windows 64.

pull/374/head
Georgi Kodinov 18 years ago
parent
commit
3bcbaf6cbf
  1. 2
      mysys/default.c

2
mysys/default.c

@ -1017,7 +1017,7 @@ static const char *my_get_module_parent(char *buf, size_t size)
{
char *last= NULL;
char *end;
if (!GetModuleFileName(NULL, buf, size))
if (!GetModuleFileName(NULL, buf, (DWORD) size))
return NULL;
end= strend(buf);

Loading…
Cancel
Save