summaryrefslogtreecommitdiff
path: root/xts5/Xlib5/XGetWindowProperty.m
diff options
context:
space:
mode:
Diffstat (limited to 'xts5/Xlib5/XGetWindowProperty.m')
-rw-r--r--xts5/Xlib5/XGetWindowProperty.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/xts5/Xlib5/XGetWindowProperty.m b/xts5/Xlib5/XGetWindowProperty.m
index 895adb5a..5535d376 100644
--- a/xts5/Xlib5/XGetWindowProperty.m
+++ b/xts5/Xlib5/XGetWindowProperty.m
@@ -241,7 +241,7 @@ char *data = "a tested property";
} else
FAIL;
- (void) strncpy((char *)cbuf, &(data[12]), 4);
+ strncpy((char *)cbuf, &(data[12]), 4);
cbuf[4] = '\0';
if (prop == (unsigned char *)NULL) {