fixed a compilation warning on windows 64.

This commit is contained in:
Georgi Kodinov 2008-07-09 13:03:48 +03:00
parent fbfef628bc
commit 3bcbaf6cbf

View File

@ -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);