improve buf_set_ones
authorZachary T Welch <zw@superlucidity.net>
Sat, 14 Nov 2009 18:41:35 +0000 (10:41 -0800)
committerZachary T Welch <zw@superlucidity.net>
Mon, 16 Nov 2009 08:46:34 +0000 (00:46 -0800)
commitd8d8c5d8c3e47a38059952c3407bb819c5c33d05
tree539092825bd439fda82a6825ca3c52f9f070a3eb
parentd09e308130619f8667b6f08399cfc7d16dddab36
improve buf_set_ones

Use memset instead of loop. Improve types, using void * and unsigned.
src/helper/binarybuffer.c
src/helper/binarybuffer.h