diff options
author | Georgi Kodinov <kgeorge@mysql.com> | 2008-07-09 13:03:48 +0300 |
---|---|---|
committer | Georgi Kodinov <kgeorge@mysql.com> | 2008-07-09 13:03:48 +0300 |
commit | 3bcbaf6cbf18dc04ee2495cc6cd2bf8aa399ebb5 (patch) | |
tree | 1d945251a5cb4ce3750fb35d08b79602a85893c0 /mysys/default.c | |
parent | fbfef628bc7cbe50fa08a1ee639ee4d8872c9770 (diff) | |
download | mariadb-git-3bcbaf6cbf18dc04ee2495cc6cd2bf8aa399ebb5.tar.gz |
fixed a compilation warning on windows 64.
Diffstat (limited to 'mysys/default.c')
-rw-r--r-- | mysys/default.c | 2 |
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); |