summaryrefslogtreecommitdiff
path: root/src/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cursor.c')
-rw-r--r--src/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cursor.c b/src/cursor.c
index 5bfc4f9..bbe05f0 100644
--- a/src/cursor.c
+++ b/src/cursor.c
@@ -38,7 +38,7 @@ in this Software without prior written authorization from The Open Group.
#include "util.h"
static struct _CursorName {
- char *name;
+ const char *name;
unsigned int shape;
Cursor cursor;
} cursor_names[] = {
@@ -123,7 +123,7 @@ static struct _CursorName {
};
void
-NewFontCursor (Cursor *cp, char *str)
+NewFontCursor (Cursor *cp, const char *str)
{
int i;