projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiling bsd/device.c on systems without utun.
[tinc]
/
src
/
pidfile.c
diff --git
a/src/pidfile.c
b/src/pidfile.c
index
6e24d5f
..
232c2c4
100644
(file)
--- a/
src/pidfile.c
+++ b/
src/pidfile.c
@@
-46,7
+46,7
@@
pid_t read_pid (const char *pidfile)
if(fscanf(f,"%20ld", &pid) != 1)
pid = 0;
fclose(f);
if(fscanf(f,"%20ld", &pid) != 1)
pid = 0;
fclose(f);
- return pid;
+ return
(pid_t)
pid;
}
/* check_pid
}
/* check_pid