diff options
-rw-r--r-- | radsecproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 44aa890..36ac6c4 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3164,7 +3164,7 @@ int createpidfile(const char *pidfile) { int r; FILE *f = fopen(pidfile, "w"); if (f) - r = fprintf(f, "%d\n", getpid()); + r = fprintf(f, "%ld\n", (long) getpid()); return f && !fclose(f) && r >= 0; } |