fixup "libc: unify base types for arm_64 and riscv" (revert unintended __int64_t modification)

Fixes #5431
This commit is contained in:
Norman Feske
2025-01-24 09:58:45 +01:00
committed by Christian Helmuth
parent 9b61f00187
commit f9f874d7e4
2 changed files with 5 additions and 9 deletions

View File

@@ -1 +1 @@
bc721727d40eed2e4034055bd0400374fcaa4d61
1c613242c0e6276b1495773990cd952108f11072

View File

@@ -52,13 +52,11 @@ index 07893c6..abd2ea4 100644
typedef __uint32_t __uintptr_t;
--- src/lib/libc/sys/arm64/include/_types.h
+++ src/lib/libc/sys/arm64/include/_types.h
@@ -48,8 +48,8 @@
typedef unsigned short __uint16_t;
@@ -49,7 +49,7 @@
typedef int __int32_t;
typedef unsigned int __uint32_t;
-typedef long __int64_t;
typedef long __int64_t;
-typedef unsigned long __uint64_t;
+typedef long long __int64_t;
+typedef unsigned long long __uint64_t;
/*
@@ -80,13 +78,11 @@ index 07893c6..abd2ea4 100644
typedef __uint64_t __uintmax_t;
--- src/lib/libc/sys/riscv/include/_types.h
+++ src/lib/libc/sys/riscv/include/_types.h
@@ -48,8 +48,8 @@
typedef unsigned short __uint16_t;
@@ -49,7 +49,7 @@
typedef int __int32_t;
typedef unsigned int __uint32_t;
-typedef long __int64_t;
typedef long __int64_t;
-typedef unsigned long __uint64_t;
+typedef long long __int64_t;
+typedef unsigned long long __uint64_t;
/*