SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
net/kismet/patches/patch-uuid_h
Normal file
16
net/kismet/patches/patch-uuid_h
Normal file
|
@ -0,0 +1,16 @@
|
|||
silence warnings
|
||||
|
||||
Index: uuid.h
|
||||
--- uuid.h.orig
|
||||
+++ uuid.h
|
||||
@@ -113,7 +113,9 @@ class uuid { (public)
|
||||
char ids[38];
|
||||
snprintf(ids, 38, "%08x-%04hx-%04hx-%04hx-%02hx%02hx%02hx%02hx%02hx%02hx",
|
||||
(unsigned int) *time_low, *time_mid, *time_hi, *clock_seq,
|
||||
- node[0], node[1], node[2], node[3], node[4], node[5]);
|
||||
+ (unsigned short)node[0], (unsigned short)node[1],
|
||||
+ (unsigned short)node[2], (unsigned short)node[3],
|
||||
+ (unsigned short)node[4], (unsigned short)node[5]);
|
||||
return string(ids);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue