#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

  • Nickolay V. Shmyrev

    • status: open --> closed
     
  • Nickolay V. Shmyrev

    Fixed in trunk, thanks.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks