summaryrefslogtreecommitdiff
path: root/rts/include
diff options
context:
space:
mode:
Diffstat (limited to 'rts/include')
-rw-r--r--rts/include/stg/Prim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/include/stg/Prim.h b/rts/include/stg/Prim.h
index 9e5752584a..c4595cf4fd 100644
--- a/rts/include/stg/Prim.h
+++ b/rts/include/stg/Prim.h
@@ -53,7 +53,7 @@ void hs_atomicwrite64(StgWord x, StgWord64 val);
StgWord hs_xchg8(StgWord x, StgWord val);
StgWord hs_xchg16(StgWord x, StgWord val);
StgWord hs_xchg32(StgWord x, StgWord val);
-StgWord hs_xchg64(StgWord x, StgWord val);
+StgWord64 hs_xchg64(StgWord x, StgWord64 val);
/* libraries/ghc-prim/cbits/bswap.c */
StgWord16 hs_bswap16(StgWord16 x);