aboutsummaryrefslogtreecommitdiff
path: root/endian.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xendian.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/endian.c b/endian.c
index dffc481..a8fde60 100755
--- a/endian.c
+++ b/endian.c
@@ -31,7 +31,7 @@ u32 int_swap_bytes(u32 int1)
charTemp = 0x00;
charTemp = int1c[1]; int1c[1] = int1c[2]; int1c[2] = charTemp;
- u32 *newInt; newInt = (int*)int1c;
+ u32 *newInt; newInt = (unsigned int*)int1c;
return *newInt;
}