diff options
Diffstat (limited to 'saa.c')
-rw-r--r-- | saa.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |