diff options
author | rofl0r <retnyg@gmx.net> | 2017-12-04 11:33:01 +0000 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2017-12-04 11:33:01 +0000 |
commit | 9bb699628fe0375ab03fa795c44261e97a898beb (patch) | |
tree | 71b6cf739f30b075291516f260a9f3c216c5f595 /src/conf.c | |
parent | e9e0f0b4f0341fa279e88d03f0f2baddff43cbe9 (diff) |
safe_write/read: take void* buffer for generic use
if using one of unsigned or signed char for the function prototype, one
gets nasty warnings when using it with the other type. the only proper
solution is to put void* into the prototype, and then specialize the pointer
inside the function using an automatic variable.
for exactly this reason, libc functions like read(), write(), etc use void*
too.
Diffstat (limited to 'src/conf.c')
0 files changed, 0 insertions, 0 deletions