Skip to content

Commit

Permalink
DRACI: Fix potential sign extention. CID 1003513
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Oct 17, 2013
1 parent 78dc1c7 commit 2a65976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/draci/surface.cpp
Expand Up @@ -82,7 +82,7 @@ void Surface::markClean() {
void Surface::fill(uint color) {
byte *ptr = (byte *)getPixels();

memset(ptr, color, w * h);
memset(ptr, color, (uint)(w * h));
}

/**
Expand Down

0 comments on commit 2a65976

Please sign in to comment.