dsprenkels / randombytes

A portable C library for generating cypto-secure random bytes
MIT License
96 stars 37 forks source link

Replace void pointer arithmetic #4

Closed joostrijneveld closed 6 years ago

joostrijneveld commented 6 years ago

This is not allowed by the C spec, as it is not defined what the size of the pointed to object is. It is covered by GCC's -Wpointer-arith.

dsprenkels commented 6 years ago

Thank you!