Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#395 pio.c:458: bad call to memset ?

next release
closed
nobody
None
1
2014-08-27
2014-08-11
dcb
No

[pio.c:458]: (warning) Size of pointer 'statbuf' used instead of size of its data.

memset(statbuf, 0, sizeof(statbuf));

Maybe better code

memset(statbuf, 0, sizeof(*statbuf));

Discussion

    • status: open --> closed
     
  • Fixed in trunk, thanks.