diff options
Diffstat (limited to 'src/ResConfig.c')
-rw-r--r-- | src/ResConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ResConfig.c b/src/ResConfig.c index 152d9cf..5a7f6d2 100644 --- a/src/ResConfig.c +++ b/src/ResConfig.c @@ -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: |