diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-01 20:13:20 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-01 20:13:20 -0800 |
commit | b53fd0a2acc19f8e2fd966eb6f688496b102b71d (patch) | |
tree | 815e09c3088651bd4f12bbb954ab0ef55cba3d27 | |
parent | 468b19fd8729690dc4c2d1a1f20294991949ac35 (diff) |
Treat FSServerName return value as a const char *
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | fstobdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |