Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
np3000
· 16y ago · 0 comments
it should be memset(buffer,0,SIZE*sizeof(int))
Comments
[–]
scott_s
16y ago
Only if it's a buffer of ints. I had assumed it was buffer of unstructured memory, which would be chars and of 1 byte each.