fixed a compilation warning on windows 64.
This commit is contained in:
parent
fbfef628bc
commit
3bcbaf6cbf
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user