summaryrefslogtreecommitdiffstats
path: root/lib/libc/sparc64/net/ntohl.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sparc64/net/ntohl.S')
-rw-r--r--lib/libc/sparc64/net/ntohl.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sparc64/net/ntohl.S b/lib/libc/sparc64/net/ntohl.S
index 4a54691..1313a45 100644
--- a/lib/libc/sparc64/net/ntohl.S
+++ b/lib/libc/sparc64/net/ntohl.S
@@ -57,5 +57,5 @@
.set CNAME(ntohl),CNAME(__ntohl)
ENTRY(__ntohl)
retl
- signx %o0, %o0
+ srl %o0, 0, %o0 /* zero extend */
END(__ntohl)
OpenPOWER on IntegriCloud