We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78182ae commit 9598c22Copy full SHA for 9598c22
pc-bios/s390-ccw/helper.h
@@ -19,7 +19,7 @@
19
/* Avoids compiler warnings when casting a pointer to a u32 */
20
static inline uint32_t ptr2u32(void *ptr)
21
{
22
- IPL_assert((uint64_t)ptr <= 0xffffffff, "ptr2u32: ptr too large");
+ IPL_assert((uint64_t)ptr <= 0xffffffffull, "ptr2u32: ptr too large");
23
return (uint32_t)(uint64_t)ptr;
24
}
25
0 commit comments