mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-14 03:44:41 +00:00
warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat
many many more to do but it's a little step closer to get rid of warnings
This commit is contained in:
parent
ebf49310b3
commit
dd7ab0448f
45 changed files with 227 additions and 369 deletions
|
@ -48,8 +48,8 @@ static std::string _CFToStdString(CFStringRef cs)
|
|||
#include "ttvfs.h"
|
||||
#endif
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_syswm.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_syswm.h>
|
||||
|
||||
#ifdef BBGE_BUILD_WINDOWS
|
||||
static HICON icon_windows = 0;
|
||||
|
@ -269,7 +269,7 @@ void forEachFile(const std::string& inpath, std::string type, void callback(cons
|
|||
TCHAR szDir[MAX_PATH+1];
|
||||
WIN32_FIND_DATA FileData;
|
||||
|
||||
int end = path.size()-1;
|
||||
size_t end = path.size()-1;
|
||||
if (path[end] != '/')
|
||||
path[end] += '/';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue