15 lines
488 B
Text
15 lines
488 B
Text
$NetBSD: patch-ai,v 1.1 2008/07/27 22:47:43 dholland Exp $
|
|
|
|
--- screenlib/SDL_FrameBuf.cpp~ 2001-07-22 17:03:13.000000000 -0400
|
|
+++ screenlib/SDL_FrameBuf.cpp 2008-07-27 18:40:05.000000000 -0400
|
|
@@ -848,8 +848,8 @@
|
|
for ( i=0; i<dirtymaplen; ++i ) {
|
|
if ( dirtymap[i] != NULL ) {
|
|
dirtymap[i] = (SDL_Rect *)(
|
|
- ((int)dirtymap[i]-(int)updatelist) +
|
|
- (int)newlist
|
|
+ ((intptr_t)dirtymap[i]-(intptr_t)updatelist) +
|
|
+ (intptr_t)newlist
|
|
);
|
|
}
|
|
}
|