mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-19 14:35:18 +01:00
+ Fixed build warnings in VS 2015
This commit is contained in:
@@ -6,9 +6,9 @@ set(LIBRARY_NAME storm)
|
||||
include(CMakeDependentOption)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Compile shared libraries" OFF)
|
||||
cmake_dependent_option(STORM_BUILD_TESTS
|
||||
option(STORM_BUILD_TESTS
|
||||
"Compile StormLib test application" OFF
|
||||
"BUILD_TESTING" OFF # Stay coherent with CTest variables
|
||||
# "BUILD_TESTING" OFF # Stay coherent with CTest variables
|
||||
)
|
||||
|
||||
set(SRC_FILES
|
||||
|
||||
@@ -101,9 +101,9 @@ class TADPCMStream
|
||||
return true;
|
||||
}
|
||||
|
||||
int LengthProcessed(void * pvBuffer)
|
||||
int LengthProcessed(void * pvOutBuffer)
|
||||
{
|
||||
return pbBuffer - (unsigned char *)pvBuffer;
|
||||
return (int)((unsigned char *)pbBuffer - (unsigned char *)pvOutBuffer);
|
||||
}
|
||||
|
||||
unsigned char * pbBufferEnd;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
#define WORK_PATH_ROOT _T("E:\\Multimedia\\MPQs")
|
||||
static const TCHAR szListFileDir[] = { '1', '9', '9', '5', ' ', '-', ' ', 'T', 'e', 's', 't', ' ', 'M', 'P', 'Q', 's', '\\', 'l', 'i', 's', 't', 'f', 'i', 'l', 'e', 's', '-', 0x65B0, 0x5EFA, 0x6587, 0x4EF6, 0x5939, 0 };
|
||||
static const TCHAR szListFileDir[] = { '1', '9', '9', '5', ' ', '-', ' ', 'T', 'e', 's', 't', ' ', 'M', 'P', 'Q', 's', '\\', 'l', 'i', 's', 't', 'f', 'i', 'l', 'e', 's', '-', (TCHAR)0x65B0, (TCHAR)0x5EFA, (TCHAR)0x6587, (TCHAR)0x4EF6, (TCHAR)0x5939, 0 };
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_LINUX
|
||||
|
||||
Reference in New Issue
Block a user