mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 08:17:40 +03:00
Clarify some parentheses
This commit is contained in:
parent
28c55cff38
commit
768f7ff49e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user