projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use pidfile in tinc-gui as well.
[tinc]
/
src
/
utils.c
diff --git
a/src/utils.c
b/src/utils.c
index
4aed59f
..
6ea904a
100644
(file)
--- a/
src/utils.c
+++ b/
src/utils.c
@@
-67,7
+67,7
@@
const char *winerror(int err) {
}
#endif
-unsigned int bitfield_to_int(void *bitfield, size_t size) {
+unsigned int bitfield_to_int(
const
void *bitfield, size_t size) {
unsigned int value = 0;
if(size > sizeof value)
size = sizeof value;