summaryrefslogtreecommitdiff
path: root/fstobdf.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-01 20:13:20 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-01 20:13:20 -0800
commitb53fd0a2acc19f8e2fd966eb6f688496b102b71d (patch)
tree815e09c3088651bd4f12bbb954ab0ef55cba3d27 /fstobdf.c
parent468b19fd8729690dc4c2d1a1f20294991949ac35 (diff)
Treat FSServerName return value as a const char *
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'fstobdf.c')
-rw-r--r--fstobdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstobdf.c b/fstobdf.c
index 881cefa..3743a57 100644
--- a/fstobdf.c
+++ b/fstobdf.c
@@ -102,7 +102,7 @@ main(int argc, char *argv[])
fontServer = FSOpenServer(serverName);
if (!fontServer) {
- char *sn = FSServerName(serverName);
+ const char *sn = FSServerName(serverName);
if (sn)
fprintf(stderr, "%s: can't open font server \"%s\"\n",
argv[0], sn);