diff options
| author | Vito Caputo <vcaputo@pengaru.com> | 2023-12-16 18:18:17 -0800 | 
|---|---|---|
| committer | Vito Caputo <vcaputo@pengaru.com> | 2023-12-16 18:18:17 -0800 | 
| commit | 93d6b5ab284cd46e60f32047c4a0b281aa5822a0 (patch) | |
| tree | 22174f8b435a5b7df9cb5b3eb776dd3f746a03b0 /src/modules/sparkler | |
| parent | 942131dc41905ee14b6bfbc3182282c73694be4d (diff) | |
sdl_fb,modules/sparkler: make bit fields unsigned
This oversight was triggering warnings on an M1 Macbook/clang.
Diffstat (limited to 'src/modules/sparkler')
| -rw-r--r-- | src/modules/sparkler/particle.h | 4 | 
1 files changed, 2 insertions, 2 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 {  | 
