diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c index 7394a9a10b9..23623292d7e 100644 --- a/lib-src/emacsserver.c +++ b/lib-src/emacsserver.c | |||
| @@ -267,7 +267,7 @@ main (argc, argv) | |||
| 267 | } | 267 | } |
| 268 | 268 | ||
| 269 | #ifndef SERVER_HOME_DIR | 269 | #ifndef SERVER_HOME_DIR |
| 270 | sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name); | 270 | sprintf (server.sun_path, "/tmp/esrv%d-%s", (int) geteuid (), system_name); |
| 271 | 271 | ||
| 272 | if (unlink (server.sun_path) == -1 && errno != ENOENT) | 272 | if (unlink (server.sun_path) == -1 && errno != ENOENT) |
| 273 | { | 273 | { |