diff options
author | Benji Dial <benji6283@gmail.com> | 2020-09-13 22:06:40 -0400 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2020-09-13 22:06:40 -0400 |
commit | 44d29a33df81ac07163d5146a9e43a0c4fb80af0 (patch) | |
tree | 94d4fb506a80d73cb53dc9ea66dfc952d7a9432a /src/user/knob/block.c | |
parent | 143156f63e2448733f1a35a74e629fe0ae9bb567 (diff) | |
download | portland-os-44d29a33df81ac07163d5146a9e43a0c4fb80af0.tar.gz |
new shell
Diffstat (limited to 'src/user/knob/block.c')
-rw-r--r-- | src/user/knob/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/knob/block.c b/src/user/knob/block.c index e890fa1..7524ad3 100644 --- a/src/user/knob/block.c +++ b/src/user/knob/block.c @@ -9,7 +9,7 @@ void blockcpy(void *to, const void *from, uint32_t size) { //unsophisticated, should check by dwords wheere available __attribute__ ((__pure__)) -bool blockequ(void *a, void *b, uint32_t size) { +bool blockequ(const void *a, const void *b, uint32_t size) { for (uint32_t i = 0; i < size; ++i) if (*(uint8_t *)(a++) != *(uint8_t *)(b++)) return false; |