diff options
author | Determinant <ted.sybil@gmail.com> | 2019-12-05 01:48:44 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-12-05 01:48:44 -0500 |
commit | 6225a46eb219fd63b3a11c1805d08c217188e94d (patch) | |
tree | 94f5d7b084220a9706999ea6b48713aaaf16e690 /include/salticidae/stream.h | |
parent | 4fd25c23a5b2bd3ccedfe756c6f05d0bd9d3e0ca (diff) |
WIP: OSX(macOS) support
Diffstat (limited to 'include/salticidae/stream.h')
-rw-r--r-- | include/salticidae/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/stream.h b/include/salticidae/stream.h index fb951cb..1ac166a 100644 --- a/include/salticidae/stream.h +++ b/include/salticidae/stream.h @@ -349,7 +349,7 @@ class _Bits { ndata = (nbits + bit_per_datum - 1) / bit_per_datum; data = new _impl_type[ndata]; - uint8_t *end = arr + len; + const uint8_t *end = arr + len; for (_impl_type *ptr = data.get(); ptr < data.get() + ndata;) { _impl_type x = 0; |