summaryrefslogtreecommitdiff
path: root/mysys
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
commit28e02b178f198e3355a7877393e576ab756e15ab (patch)
tree1d945251a5cb4ce3750fb35d08b79602a85893c0 /mysys
parented30164161bf0b11629907ec49b23687db6dfa41 (diff)
downloadmariadb-git-28e02b178f198e3355a7877393e576ab756e15ab.tar.gz
fixed a compilation warning on windows 64.
Diffstat (limited to 'mysys')
-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);