Use memset() instead of bzero().
2007-05-23 Tor Lillqvist <tml@novell.com> * plug-ins/common/tiff-save.c (save_paths): Use memset() instead of bzero(). svn path=/trunk/; revision=22591
This commit is contained in:

committed by
Tor Lillqvist

parent
a6d783152d
commit
9ab35b10ce
@ -1,3 +1,8 @@
|
||||
2007-05-23 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* plug-ins/common/tiff-save.c (save_paths): Use memset() instead
|
||||
of bzero().
|
||||
|
||||
2007-05-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimp-user-install.c
|
||||
|
@ -510,7 +510,7 @@ save_paths (TIFF *tif,
|
||||
continue;
|
||||
}
|
||||
|
||||
bzero (pointrecord, 26);
|
||||
memset (pointrecord, 0, 26);
|
||||
pointrecord[1] = closed ? 0 : 3;
|
||||
pointrecord[2] = (num_points / 6) / 256;
|
||||
pointrecord[3] = (num_points / 6) % 256;
|
||||
|
Reference in New Issue
Block a user