summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/sparkler/particle.h4
-rw-r--r--src/sdl_fb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/sparkler/particle.h b/src/modules/sparkler/particle.h
index 491dc65..708ab95 100644
--- a/src/modules/sparkler/particle.h
+++ b/src/modules/sparkler/particle.h
@@ -14,8 +14,8 @@ typedef struct particle_props_t {
float velocity; /* linear velocity */
float mass; /* mass of particle */
float drag; /* drag of particle */
- int of_use:1; /* are these properties of use/meaningful? */
- int virtual:1; /* is this a virtual particle? (not to be moved or otherwise acted upon) */
+ unsigned of_use:1; /* are these properties of use/meaningful? */
+ unsigned virtual:1; /* is this a virtual particle? (not to be moved or otherwise acted upon) */
} particle_props_t;
typedef enum particle_status_t {
diff --git a/src/sdl_fb.c b/src/sdl_fb.c
index d2d4d70..cb1d6a2 100644
--- a/src/sdl_fb.c
+++ b/src/sdl_fb.c
@@ -13,8 +13,8 @@
typedef struct sdl_fb_setup_t {
til_video_setup_t til_video_setup;
- int fullscreen:1;
- int vsync:1;
+ unsigned fullscreen:1;
+ unsigned vsync:1;
unsigned width, height;
} sdl_fb_setup_t;
© All Rights Reserved