forked from rosebudai/OpenRCT2-Web
Fix more warnings
This commit is contained in:
1 parent
408665e4a4
commit
6bd003c67f
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -22,7 +22,7 @@ enum {
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
utf8 *filename;
|
||||
const utf8 *filename;
|
||||
int ptSize;
|
||||
int offset_x;
|
||||
int offset_y;
|
||||
@@ -44,4 +44,4 @@ int font_get_size_from_sprite_base(uint16 spriteBase);
|
||||
int font_get_line_height(int fontSpriteBase);
|
||||
int font_get_line_height_small(int fontSpriteBase);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -75,7 +75,7 @@ __declspec(dllexport) int StartOpenRCT(HINSTANCE hInstance, HINSTANCE hPrevInsta
|
||||
|
||||
// Get command line arguments in standard form
|
||||
argv = CommandLineToArgvA(lpCmdLine, &argc);
|
||||
runGame = cmdline_run(argv, argc);
|
||||
runGame = cmdline_run((const char **)argv, argc);
|
||||
GlobalFree(argv);
|
||||
|
||||
if (runGame)
|
||||
|
||||
Reference in new issue
Block a user