mirror of
https://github.com/st3fan/ewm.git
synced 2025-01-16 03:30:10 +00:00
Small fixes to deal with warnings about comparing signed and unsigned ints
This commit is contained in:
parent
04ee3ab615
commit
2c2cea17dc
@ -37,7 +37,7 @@ struct mem_t;
|
||||
#define EWM_DSK_SECTOR_SIZE 256
|
||||
|
||||
struct ewm_dsk_track_t {
|
||||
size_t length;
|
||||
int length;
|
||||
uint8_t *data;
|
||||
};
|
||||
|
||||
|
@ -513,7 +513,7 @@ int ewm_two_main(int argc, char **argv) {
|
||||
char *drive1 = NULL;
|
||||
char *drive2 = NULL;
|
||||
bool color = false;
|
||||
int fps = EWM_TWO_FPS_DEFAULT;
|
||||
uint32_t fps = EWM_TWO_FPS_DEFAULT;
|
||||
struct ewm_memory_option_t *extra_memory = NULL;
|
||||
|
||||
int ch;
|
||||
@ -611,8 +611,8 @@ int ewm_two_main(int argc, char **argv) {
|
||||
|
||||
SDL_StartTextInput();
|
||||
|
||||
Uint32 ticks = SDL_GetTicks();
|
||||
int phase = 1;
|
||||
uint32_t ticks = SDL_GetTicks();
|
||||
uint32_t phase = 1;
|
||||
|
||||
while (true) {
|
||||
if (!ewm_two_poll_event(two, window)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user