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