Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109469180
D45260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
441 B
Referenced Files
None
Subscribers
None
D45260.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
@@ -902,7 +902,7 @@
/* Provide fallback versions for other compilers (GCC/Clang < 10): */
#if !__has_builtin(__builtin_is_aligned)
#define __builtin_is_aligned(x, align) \
- (((__uintptr_t)x & ((align) - 1)) == 0)
+ (((__uintptr_t)(x) & ((align) - 1)) == 0)
#endif
#if !__has_builtin(__builtin_align_up)
#define __builtin_align_up(x, align) \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 11:45 AM (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16492909
Default Alt Text
D45260.diff (441 B)
Attached To
Mode
D45260: sys/sys: Fix __builtin_is_aligned fallback
Attached
Detach File
Event Timeline
Log In to Comment