summaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp')
-rw-r--r--LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp b/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp
index e196dd7..a47ca4e 100644
--- a/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp
+++ b/LibOVR/Src/Kernel/OVR_String_FormatUtil.cpp
@@ -34,13 +34,13 @@ void StringBuffer::AppendFormat(const char* format, ...)
va_list argList;
va_start(argList, format);
- UPInt size = OVR_vscprintf(format, argList);
+ size_t size = OVR_vscprintf(format, argList);
va_end(argList);
char* buffer = (char*) OVR_ALLOC(sizeof(char) * (size+1));
va_start(argList, format);
- UPInt result = OVR_vsprintf(buffer, size+1, format, argList);
+ size_t result = OVR_vsprintf(buffer, size+1, format, argList);
OVR_UNUSED1(result);
va_end(argList);
OVR_ASSERT_LOG(result == size, ("Error in OVR_vsprintf"));