Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1
[tinc] / src / utils.c
index 4aed59f..6ea904a 100644 (file)
@@ -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;