win32 fixes

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1326 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2009-12-07 04:45:38 +00:00
parent 7a80a2e91c
commit 8dbfbc670b
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ void TextureManager::Preload()
ilLoadL(IL_TYPE_UNKNOWN,(ILvoid*) M_data, M_bytes);
GLuint tex = ilutGLBindTexImage();
#else
uint tex = SOIL_load_OGL_texture_from_memory(
unsigned int tex = SOIL_load_OGL_texture_from_memory(
M_data,
M_bytes,
SOIL_LOAD_AUTO,
@ -173,7 +173,7 @@ GLuint TextureManager::getTextureFullpath(const std::string filename, const std:
#else
int width, height;
uint tex = SOIL_load_OGL_texture_size(
unsigned int tex = SOIL_load_OGL_texture_size(
imageURL.c_str(),
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,

View File

@ -19,7 +19,7 @@ extern "C"
typedef struct DIR DIR;
static int errno;
//static int errno;
struct dirent
{