Use unsigned int instead of uint

For mingw compatibility
This commit is contained in:
Vladimir Serbinenko 2020-05-01 14:39:35 +02:00
parent 9da496d400
commit 8956159a74

4
scr.c
View File

@ -26,7 +26,7 @@ static unsigned current_scan_line() {
void scr_param_change(int pal, int buf) {
int cur = current_scan_line();
uint i;
unsigned int i;
for (i = param_change_line; i < cur; i++) {
req_palette[2 * i + half_frame] = active_palette;
req_page[2 * i + half_frame] = active_page;
@ -48,7 +48,7 @@ void scr_common_init() {
* requests to the end with the current values.
*/
void scr_sync() {
uint i;
unsigned int i;
for (i = param_change_line; i < 256; i++) {
req_palette[2 * i + half_frame] = active_palette;
req_page[2 * i + half_frame] = active_page;