Martin Storsjo : wrc: Declare the data buffer as unsigned char.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 8 16:10:36 CST 2014


Module: wine
Branch: master
Commit: 84e99d13ae150693bf140e22d46313c8e5038b97
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=84e99d13ae150693bf140e22d46313c8e5038b97

Author: Martin Storsjo <martin at martin.st>
Date:   Mon Dec  8 11:26:51 2014 +0200

wrc: Declare the data buffer as unsigned char.

---

 tools/wrc/wrctypes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/wrc/wrctypes.h b/tools/wrc/wrctypes.h
index fdb3862..d71c4ac 100644
--- a/tools/wrc/wrctypes.h
+++ b/tools/wrc/wrctypes.h
@@ -97,7 +97,7 @@ typedef struct res {
 	unsigned int	allocsize;	/* Allocated datablock size */
 	unsigned int	size;		/* Actual size of data */
 	unsigned int	dataidx;	/* Tag behind the resource-header */
-	char		*data;
+	unsigned char	*data;
 } res_t;
 
 /* Resource strings are slightly more complex because they include '\0' */




More information about the wine-cvs mailing list