Clarify some parentheses

This commit is contained in:
Richard Feldman 2022-11-03 00:06:31 -04:00
parent 28c55cff38
commit 768f7ff49e
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

View File

@ -113,7 +113,7 @@ struct RocStr init_rocstr(uint8_t *bytes, size_t len)
memcpy(&ret, bytes, len);
// Record the string's length in the last byte of the stack allocation
(uint8_t *)(&ret)[sizeof(RocStr) - 1] = (uint8_t)len | 0b10000000;
((uint8_t *)&ret)[sizeof(RocStr) - 1] = (uint8_t)len | 0b10000000;
return ret;
}