summaryrefslogtreecommitdiff
path: root/saa.c
diff options
context:
space:
mode:
Diffstat (limited to 'saa.c')
-rw-r--r--saa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/saa.c b/saa.c
index 157aba3..6719584 100644
--- a/saa.c
+++ b/saa.c
@@ -342,6 +342,7 @@ void saa_write64(struct SAA *s, uint64_t v)
b[5] = v >> 40;
b[6] = v >> 48;
b[7] = v >> 56;
+
saa_wbytes(s, b, 8);
}
@@ -358,7 +359,7 @@ void saa_writeaddr(struct SAA *s, uint64_t v, size_t len)
b[6] = v >> 48;
b[7] = v >> 56;
- saa_wbytes(s, &v, len);
+ saa_wbytes(s, b, len);
}
#endif /* WORDS_LITTLEENDIAN */