summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorGeorgi Kodinov <kgeorge@mysql.com>2008-07-09 13:03:48 +0300
committerGeorgi Kodinov <kgeorge@mysql.com>2008-07-09 13:03:48 +0300
commit3bcbaf6cbf18dc04ee2495cc6cd2bf8aa399ebb5 (patch)
tree1d945251a5cb4ce3750fb35d08b79602a85893c0 /mysys/default.c
parentfbfef628bc7cbe50fa08a1ee639ee4d8872c9770 (diff)
downloadmariadb-git-3bcbaf6cbf18dc04ee2495cc6cd2bf8aa399ebb5.tar.gz
fixed a compilation warning on windows 64.
Diffstat (limited to 'mysys/default.c')
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index bf32261129b..b7eb963e395 100644
--- a/mysys/default.c
+++ b/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);