summaryrefslogtreecommitdiff
path: root/src/video/SDL_fillrect.c
diff options
context:
space:
mode:
authorGabriel Jacobo <gabomdq@gmail.com>2013-08-21 10:34:32 -0300
committerGabriel Jacobo <gabomdq@gmail.com>2013-08-21 10:34:32 -0300
commit8ca33fc24b8529179b1c1b1497ed8ef7883152e8 (patch)
tree7dac900f533a9224e181b264daeae9e8e00f64ff /src/video/SDL_fillrect.c
parent1f5573de333e6088edb8fb844be1c5f816d93f77 (diff)
downloadsdl-8ca33fc24b8529179b1c1b1497ed8ef7883152e8.tar.gz
Fix a couple of warnings
Diffstat (limited to 'src/video/SDL_fillrect.c')
-rw-r--r--src/video/SDL_fillrect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/SDL_fillrect.c b/src/video/SDL_fillrect.c
index 72e2eefde..d891e4e9d 100644
--- a/src/video/SDL_fillrect.c
+++ b/src/video/SDL_fillrect.c
@@ -274,7 +274,7 @@ static void
SDL_FillRect2(Uint8 * pixels, int pitch, Uint32 color, int w, int h)
{
int n;
- Uint8 *p = NULL;
+ Uint16 *p = NULL;
while (h--) {
n = w;