Use u_int32_t for grs_screen sc_mode to avoid sign mismatch warnings
This commit is contained in:
parent
25ddc61bc6
commit
02a32e2f42
|
@ -144,7 +144,7 @@ typedef struct _grs_canvas {
|
||||||
|
|
||||||
typedef struct _grs_screen { // This is a video screen
|
typedef struct _grs_screen { // This is a video screen
|
||||||
grs_canvas sc_canvas; // Represents the entire screen
|
grs_canvas sc_canvas; // Represents the entire screen
|
||||||
int sc_mode; // Video mode number
|
u_int32_t sc_mode; // Video mode number
|
||||||
short sc_w, sc_h; // Actual Width and Height
|
short sc_w, sc_h; // Actual Width and Height
|
||||||
fix sc_aspect; //aspect ratio (w/h) for this screen
|
fix sc_aspect; //aspect ratio (w/h) for this screen
|
||||||
} grs_screen;
|
} grs_screen;
|
||||||
|
|
Loading…
Reference in a new issue