Module Name: xsrc
Committed By: wiz
Date: Wed Jun 26 13:54:36 UTC 2013
Modified Files:
xsrc/external/mit/libXt/dist/src: ResConfig.c
Log Message:
Fix unsigned vs. signed char warnings (needed for clang).
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libXt/dist/src/ResConfig.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/libXt/dist/src/ResConfig.c
diff -u xsrc/external/mit/libXt/dist/src/ResConfig.c:1.2 xsrc/external/mit/libXt/dist/src/ResConfig.c:1.3
--- xsrc/external/mit/libXt/dist/src/ResConfig.c:1.2 Sun Jun 2 03:07:08 2013
+++ xsrc/external/mit/libXt/dist/src/ResConfig.c Wed Jun 26 13:54:36 2013
@@ -892,7 +892,7 @@ _XtResourceConfigurationEH (
int actual_format;
unsigned long nitems;
unsigned long leftover;
- unsigned char *data = NULL;
+ char *data = NULL;
unsigned long resource_len;
char *data_ptr;
char *resource;
@@ -952,7 +952,7 @@ _XtResourceConfigurationEH (
pd->rcm_data, 0L, 8192L,
TRUE, XA_STRING,
&actual_type, &actual_format, &nitems, &leftover,
- &data ) == Success && actual_type == XA_STRING
+ (unsigned char **)&data ) == Success && actual_type == XA_STRING
&& actual_format == 8) {
/*
* data format is: