Mark pointer to databuffer/workbuffer as const

This commit is contained in:
Jorge Martins
2022-07-15 12:33:19 +02:00
parent 9ea16d9098
commit 2811917658
23 changed files with 43 additions and 39 deletions

View File

@@ -54,7 +54,7 @@ int local_strchr(char *string, char ch) {
return -1;
}
uint64_t u64_from_BE(uint8_t *in, uint8_t size) {
uint64_t u64_from_BE(const uint8_t *in, uint8_t size) {
uint8_t i = 0;
uint64_t res = 0;