diff options
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index def84bf5ae0..9ebfdca88ea 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -3306,7 +3306,7 @@ BOOL process_exists(int pid) fstring s; if (!tested) { tested = True; - sprintf(s,"/proc/%05d",getpid()); + sprintf(s,"/proc/%05d",(int)getpid()); ok = file_exist(s,NULL); } if (ok) { |