From 0e59b999fa976de2d00490f552a1ff0a27d40f63 Mon Sep 17 00:00:00 2001 From: João Silva Date: Sun, 29 Jan 2017 04:55:23 +0000 Subject: Converted most types to stdint-style (fixing a few in the process). --- source/tile.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/tile.h') diff --git a/source/tile.h b/source/tile.h index 427c975..6bc4e23 100644 --- a/source/tile.h +++ b/source/tile.h @@ -172,7 +172,7 @@ pixel = PIXEL; \ for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \ { \ - int z; \ + int32_t z; \ for (z = Pixels - 1; z >= 0; z--) \ if (GFX.Z1 > Depth [z]) \ { \ @@ -191,7 +191,7 @@ pixel = PIXEL; \ for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \ { \ - int z; \ + int32_t z; \ for (z = Pixels - 1; z >= 0; z--) \ if (GFX.Z1 > Depth [z]) \ { \ @@ -217,7 +217,7 @@ pixel = PIXEL; \ for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \ { \ - int z; \ + int32_t z; \ for (z = Pixels - 2; z >= 0; z -= 2) \ if (GFX.Z1 > Depth [z]) \ { \ @@ -236,7 +236,7 @@ pixel = PIXEL; \ for (l = LineCount; l != 0; l--, sp += GFX.PPL, Depth += GFX.PPL) \ { \ - int z; \ + int32_t z; \ for (z = Pixels - 2; z >= 0; z -= 2) \ if (GFX.Z1 > Depth [z]) \ { \ -- cgit v1.2.3