Skip to content

Commit

Permalink
Small fixes to deal with warnings about comparing signed and unsigned…
Browse files Browse the repository at this point in the history
… ints
  • Loading branch information
st3fan committed Dec 27, 2016
1 parent 04ee3ab commit 2c2cea1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/dsk.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
6 changes: 3 additions & 3 deletions src/two.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 2c2cea1

Please sign in to comment.