Y
Hacker News
new
|
ask
|
show
|
jobs
by
asveikau
4248 days ago
It's not casting away const, the buffer is declared as uint8_t and they are casting that to char... Otherwise known as it should have been char to begin with.