diff --git a/src/xi/xi.h b/src/xi/xi.h index e3d3fba6e..72d86b6a2 100755 --- a/src/xi/xi.h +++ b/src/xi/xi.h @@ -1434,7 +1434,7 @@ XIDLL void xi_set_text XVT_CC_ARGS( ( XI_OBJ * xi_obj, const char *s ) ); XIDLL void xi_set_override_cursor XVT_CC_ARGS( ( XI_OBJ* itf, XinCursor cursor, BOOLEAN flag ) ); XIDLL void xi_event_debug XVT_CC_ARGS( ( char *tag, XI_EVENT * xiev, char *s, int len ) ); -XIDLL char * gstrncpy XVT_CC_ARGS( ( char *dst, char *src, int n ) ); +XIDLL char * gstrncpy XVT_CC_ARGS( ( char *dst, const char *src, int n ) ); /* XI consistant drawing functions - these functions perform identically on * all platforms. These functions also do virtual interface coordinate