mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Fix more warnings
This commit is contained in:
@@ -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