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:
authorCampbell Barton <campbell@blender.org>2022-09-26 03:32:09 +0300
committerCampbell Barton <campbell@blender.org>2022-09-26 03:52:52 +0300
commit3a7dc572dc9bbad35bdff3a3aeca8eab0ccb3fb7 (patch)
tree56bbb2d76dde667d59336023a0fc2ca883b9cd69 /intern/ghost/intern/GHOST_Context.cpp
parent5b320e5a245f2b54743662ade3894f0a4d66750d (diff)
Cleanup: use 'u' prefixed unsigned types for GHOST
Diffstat (limited to 'intern/ghost/intern/GHOST_Context.cpp')
-rw-r--r--intern/ghost/intern/GHOST_Context.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_Context.cpp b/intern/ghost/intern/GHOST_Context.cpp
index aa379efbc1f..17ee39d952c 100644
--- a/intern/ghost/intern/GHOST_Context.cpp
+++ b/intern/ghost/intern/GHOST_Context.cpp
@@ -100,15 +100,10 @@ bool win32_chk(bool result, const char *file, int line, const char *text)
}
# ifndef NDEBUG
- _ftprintf(stderr,
- "%s(%d):[%s] -> Win32 Error# (%lu): %s",
- file,
- line,
- text,
- (unsigned long)error,
- msg);
+ _ftprintf(
+ stderr, "%s(%d):[%s] -> Win32 Error# (%lu): %s", file, line, text, ulong(error), msg);
# else
- _ftprintf(stderr, "Win32 Error# (%lu): %s", (unsigned long)error, msg);
+ _ftprintf(stderr, "Win32 Error# (%lu): %s", ulong(error), msg);
# endif
SetLastError(NO_ERROR);