Page MenuHomeFreeBSD

D55319.diff
No OneTemporary

D55319.diff

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

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)

Event Timeline