diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-03-22 16:41:38 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-03-22 16:41:38 +0400 |
commit | 1206faeb99ab6c09baeb39ce0ed89539621ccebe (patch) | |
tree | 9f70ec1f6ef045cfc322c48c0382efa7330829e1 /source/blender/blenlib | |
parent | 877706b8ebbecbbef159c1e04e69219d9fbd72ee (diff) |
Warning cleanup:
* Comparison in utf detection code always failed
* Cast to integer to silence grumpy 64bit gcc
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index e56ac6f7d83..594f9bf7bdb 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -2068,7 +2068,7 @@ static void bli_where_am_i(char *fullname, const size_t maxlen, const char *name if (GetModuleFileNameW(0, fullname_16, maxlen)) { conv_utf_16_to_8(fullname_16, fullname, maxlen); if (!BLI_exists(fullname)) { - printf("path can't be found: \"%.*s\"\n", maxlen, fullname); + printf("path can't be found: \"%.*s\"\n", (int)maxlen, fullname); MessageBox(NULL, "path contains invalid characters or is too long (see console)", "Error", MB_OK); } MEM_freeN(fullname_16); |