From dd639fb7d56f0c396c6cb8972637ef883a0cdd6b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 15 Feb 2002 12:05:25 +0000 Subject: [PATCH] (main): Cast geteuid in sprintf to int. --- lib-src/emacsserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } #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) { -- 2.39.2