#322 strange arguments in memset

open
Don HO
None
6
2011-07-24
2011-06-01
lohotron
No

In file ChangeIcon.cpp, line 124

memset(_imagesData, sizeof(LPBYTE)*count(), 0);

maybe second and 3rd arguments are misplaced & it should be:
memset(_imagesData, 0, sizeof(LPBYTE)*count());

Discussion

  • Don HO
    Don HO
    2011-07-24

    • assigned_to: nobody --> donho
    • priority: 5 --> 6