aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-10 12:57:48 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-10 12:57:48 -0800
commit3958fc32f4e02ff0b0054faf1afbb7c619c3d42b (patch)
treebebe94ea0f39bb577565a74a5828e49f3b2c68c8
parentbd938bd98412ec9d0c24856be45110078f1ad1ae (diff)
downloadsyslinux.git-3958fc32f4e02ff0b0054faf1afbb7c619c3d42b.tar.gz
syslinux.git-3958fc32f4e02ff0b0054faf1afbb7c619c3d42b.tar.xz
syslinux.git-3958fc32f4e02ff0b0054faf1afbb7c619c3d42b.zip
libgcc: fix signedness warning in __moddi3()
Intentional cross-signedness pointer passing, add a cast. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--com32/lib/libgcc/__moddi3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/libgcc/__moddi3.c b/com32/lib/libgcc/__moddi3.c
index ac8d3af7..4fc55884 100644
--- a/com32/lib/libgcc/__moddi3.c
+++ b/com32/lib/libgcc/__moddi3.c
@@ -21,7 +21,7 @@ int64_t __moddi3(int64_t num, int64_t den)
minus ^= 1;
}
- (void)__udivmoddi4(num, den, &v);
+ (void)__udivmoddi4(num, den, (uint64_t *)&v);
if (minus)
v = -v;