Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148315684
D26364.id76787.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D26364.id76787.diff
View Options
Index: stand/ficl/ficl.h
===================================================================
--- stand/ficl/ficl.h
+++ stand/ficl/ficl.h
@@ -249,7 +249,7 @@
** complement of false... that unifies logical and bitwise operations
** nicely.
*/
-#define FICL_TRUE ((unsigned long)~(0L))
+#define FICL_TRUE ((FICL_INT)~(0L))
#define FICL_FALSE (0)
#define FICL_BOOL(x) ((x) ? FICL_TRUE : FICL_FALSE)
Index: stand/ficl/powerpc/sysdep.h
===================================================================
--- stand/ficl/powerpc/sysdep.h
+++ stand/ficl/powerpc/sysdep.h
@@ -79,15 +79,15 @@
** System dependent data type declarations...
*/
#if !defined INT32
-#define INT32 int
+#define INT32 int32_t
#endif
#if !defined UNS32
-#define UNS32 unsigned int
+#define UNS32 uint32_t
#endif
#if !defined UNS16
-#define UNS16 unsigned short
+#define UNS16 uint16_t
#endif
#if !defined UNS8
@@ -367,6 +367,9 @@
*/
#if !defined FICL_ALIGN
#define FICL_ALIGN 2
+#endif
+
+#if !defined FICL_ALIGN_ADD
#define FICL_ALIGN_ADD ((1 << FICL_ALIGN) - 1)
#endif
Index: stand/powerpc/ofw/main.c
===================================================================
--- stand/powerpc/ofw/main.c
+++ stand/powerpc/ofw/main.c
@@ -63,7 +63,7 @@
{
bzero(heap, HEAP_SIZE);
- setheap(heap, (void *)((int)heap + HEAP_SIZE));
+ setheap(heap, (void *)((size_t)heap + HEAP_SIZE));
}
uint64_t
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 3:29 AM (8 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29874891
Default Alt Text
D26364.id76787.diff (1 KB)
Attached To
Mode
D26364: stand/ficl 64-bit compatibility
Attached
Detach File
Event Timeline
Log In to Comment