1
0
Fork 0
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:
fgenesis 2024-04-16 00:12:56 +02:00
parent ebf49310b3
commit dd7ab0448f
45 changed files with 227 additions and 369 deletions

View file

@ -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] += '/';