aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/stream.h
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-12-05 01:48:44 -0500
committerDeterminant <ted.sybil@gmail.com>2019-12-05 01:48:44 -0500
commit6225a46eb219fd63b3a11c1805d08c217188e94d (patch)
tree94f5d7b084220a9706999ea6b48713aaaf16e690 /include/salticidae/stream.h
parent4fd25c23a5b2bd3ccedfe756c6f05d0bd9d3e0ca (diff)
WIP: OSX(macOS) support
Diffstat (limited to 'include/salticidae/stream.h')
-rw-r--r--include/salticidae/stream.h2
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;