Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147038033
D55161.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
358 B
Referenced Files
None
Subscribers
None
D55161.diff
View Options
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -649,7 +649,7 @@
#endif
#if !__has_builtin(__builtin_align_down)
#define __builtin_align_down(x, align) \
- ((__typeof__(x))((x)&(~((align)-1))))
+ ((__typeof__(x))((__uintptr_t)(x)&(~((align)-1))))
#endif
#define __align_up(x, y) __builtin_align_up(x, y)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 7:50 PM (10 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28470204
Default Alt Text
D55161.diff (358 B)
Attached To
Mode
D55161: __builtin_align_down: Cast value to __uintptr_t in the fallback
Attached
Detach File
Event Timeline
Log In to Comment