diff options
Diffstat (limited to 'readline/util.c')
-rw-r--r-- | readline/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/readline/util.c b/readline/util.c index d402fce..13bd00c 100644 --- a/readline/util.c +++ b/readline/util.c @@ -515,11 +515,11 @@ _rl_tropen () (sh_get_env_value ("TEMP") ? sh_get_env_value ("TEMP") : "."), - getpid()); + getpid ()); #else - sprintf (fnbuf, "/var/tmp/rltrace.%ld", getpid()); + sprintf (fnbuf, "/var/tmp/rltrace.%ld", (long) getpid ()); #endif - unlink(fnbuf); + unlink (fnbuf); _rl_tracefp = fopen (fnbuf, "w+"); return _rl_tracefp != 0; } |