mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-07 23:20:36 -04:00
fix many warnings (hope everything will work)
This commit is contained in:
parent
cddb569580
commit
858c4384e8
57 changed files with 911 additions and 807 deletions
|
@ -78,7 +78,7 @@ void save_dump(const uint16_t *screen_addr,
|
|||
for (y = height; y > 0; y--) {
|
||||
const uint16_t *scr = screen_addr;
|
||||
a = scr + (y - 1) * linelen;
|
||||
for (x = 0; x < width; x++) {
|
||||
for (x = 0; (unsigned int)x < width; x++) {
|
||||
i = a[x];
|
||||
b = (i & 0x1f) << 3;
|
||||
g = (i & 0x7ff) >> 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue