diff options
Diffstat (limited to 'xts5/Xlib16/XrmGetResource.m')
-rw-r--r-- | xts5/Xlib16/XrmGetResource.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xts5/Xlib16/XrmGetResource.m b/xts5/Xlib16/XrmGetResource.m index 9f5d81a1..a28e1cee 100644 --- a/xts5/Xlib16/XrmGetResource.m +++ b/xts5/Xlib16/XrmGetResource.m @@ -197,7 +197,7 @@ Bool ret; strcpy(tb, "<NULL POINTER>"); l = strlen(tb); } else { - (void) strncpy(tb, (char*)value.addr, value.size); + strncpy(tb, (char*)value.addr, value.size); tb[value.size]='\0'; l = value.size; } @@ -275,7 +275,7 @@ Bool ret; strcpy(tb, "<NULL POINTER>"); l = strlen(tb); } else { - (void) strncpy(tb, (char*)value.addr, value.size); + strncpy(tb, (char*)value.addr, value.size); tb[value.size]='\0'; l = value.size; } |