diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-18 00:24:30 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-18 00:32:25 -0700 |
commit | e84f2e87222879ca667c1fb3d1cb3236a1159d12 (patch) | |
tree | 811a62b78ef6ba09d9781fc3dd1159cb079b55b4 /src/cursor.c | |
parent | b16ce9773e4da5897ab546de85e48a3ea58d0e00 (diff) |
Constification cleanup - fix dozens of gcc warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/cursor.c')
-rw-r--r-- | src/cursor.c | 4 |
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; |