Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163560301
D51230.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
464 B
Referenced Files
None
Subscribers
None
D51230.id.diff
View Options
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -368,8 +368,8 @@
{
char a1[11], a2[11];
- snprintf(a1, sizeof(a1), "%lu", i1);
- snprintf(a2, sizeof(a2), "%lu", i2);
+ snprintf(a1, sizeof(a1), "%ju", (uintmax_t)i1);
+ snprintf(a2, sizeof(a2), "%ju", (uintmax_t)i2);
printf(" %s", t);
if (i1 == -1 && (op == PF_OP_EQ || op == PF_OP_NE))
print_op(op, "unknown", a2);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 25, 12:18 PM (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35473060
Default Alt Text
D51230.id.diff (464 B)
Attached To
Mode
D51230: pfctl: Fix 32-bit build.
Attached
Detach File
Event Timeline
Log In to Comment