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 | e8cbf501a5dd57a4ed81968e8cdb644d71e72843 (patch) | |
tree | 1d945251a5cb4ce3750fb35d08b79602a85893c0 /mysys/default.c | |
parent | a5ce6d8076e98529c415a5d356ba4cf046e6bffa (diff) | |
download | mariadb-git-e8cbf501a5dd57a4ed81968e8cdb644d71e72843.tar.gz |
fixed a compilation warning on windows 64.mysql-5.0.66
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); |