Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-03-22 16:41:38 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-22 16:41:38 +0400
commit1206faeb99ab6c09baeb39ce0ed89539621ccebe (patch)
tree9f70ec1f6ef045cfc322c48c0382efa7330829e1 /source/blender/blenlib/intern/path_util.c
parent877706b8ebbecbbef159c1e04e69219d9fbd72ee (diff)
Warning cleanup:
* Comparison in utf detection code always failed * Cast to integer to silence grumpy 64bit gcc
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c2
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);