Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145596674
D55319.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
D55319.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, Feb 22, 11:44 PM (29 m, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28834320
Default Alt Text
D55319.diff (358 B)
Attached To
Mode
D55319: sys/cdefs.h: tweak compat definition of __builtin_align_down()
Attached
Detach File
Event Timeline
Log In to Comment