# HG changeset patch # User Gerd Moellmann # Date 1002622586 0 # Node ID a94d9387d8cd73e82176d0cbf374665593539d56 # Parent e33afc45e39d3c44070205698fcf03ae3bc34b8e (main): Cast geteuid in sprintf to int. From Hallvard B Furuseth . diff -r e33afc45e39d -r a94d9387d8cd lib-src/emacsserver.c --- a/lib-src/emacsserver.c Tue Oct 09 10:13:44 2001 +0000 +++ b/lib-src/emacsserver.c Tue Oct 09 10:16:26 2001 +0000 @@ -267,7 +267,7 @@ } #ifndef SERVER_HOME_DIR - sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name); + sprintf (server.sun_path, "/tmp/esrv%d-%s", (int) geteuid (), system_name); if (unlink (server.sun_path) == -1 && errno != ENOENT) {