match prototype after libX11 1.6RC update

This commit is contained in:
naddy 2013-04-30 15:19:08 +00:00
parent 46d2159d83
commit 51eb22c63a

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_video_x11_SDL_x11sym_h,v 1.3 2013/04/30 15:19:08 naddy Exp $
--- src/video/x11/SDL_x11sym.h.orig Tue Apr 30 00:39:44 2013
+++ src/video/x11/SDL_x11sym.h Tue Apr 30 00:40:30 2013
@@ -165,7 +165,7 @@ SDL_X11_SYM(Bool,XShmQueryExtension,(Display* a),(a),r
*/
#ifdef LONG64
SDL_X11_MODULE(IO_32BIT)
-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
+SDL_X11_SYM(int,_XData32,(Display *dpy,register const long *data,unsigned len),(dpy,data,len),return)
SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
#endif