mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
- Unbreak on gcc 4.x.
Noticed by: {kris,pav} via pointyhat Patched by: rafan (mentor) Approved by: rafan (mentor)
This commit is contained in:
parent
e1757b682e
commit
02d2fd5c1c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195154
14
security/gwee/files/patch-gwee.c
Normal file
14
security/gwee/files/patch-gwee.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- gwee.c.orig Thu Jul 5 10:41:27 2007
|
||||
+++ gwee.c Thu Jul 5 10:41:48 2007
|
||||
@@ -2767,8 +2767,8 @@
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
- (uint32_t)binary_ip = ((uint32_t *)he->h_addr_list[0])[0];
|
||||
- (uint32_t)xored_ip = ((uint32_t *)he->h_addr_list[0])[0] ^ XOR;
|
||||
+ binary_ip = ((uint32_t *)he->h_addr_list[0])[0];
|
||||
+ xored_ip = ((uint32_t *)he->h_addr_list[0])[0] ^ XOR;
|
||||
|
||||
/* save ip in ascii dot notation form */
|
||||
snprintf(ascii_ip, sizeof(ascii_ip), "%u.%u.%u.%u",
|
||||
|
Loading…
Reference in New Issue
Block a user