From: pjrm Date: Mon, 13 Mar 2006 02:56:59 +0000 (+0000) Subject: (sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dddecfff4a0de58ba55ff8ee61bf63cd0233c9a3;p=inkscape.git (sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int. --- diff --git a/src/svg/svg.h b/src/svg/svg.h index 601c0b112..15d4f39a9 100644 --- a/src/svg/svg.h +++ b/src/svg/svg.h @@ -63,7 +63,7 @@ unsigned sp_svg_transform_write(gchar str[], unsigned size, NRMatrix const *tran double sp_svg_read_percentage (const char * str, double def); unsigned int sp_svg_read_color (const gchar * str, unsigned int def); -int sp_svg_write_color (char * buf, int buflen, unsigned int color); +int sp_svg_write_color(char *buf, unsigned buflen, unsigned int color); /* NB! As paths can be long, we use here dynamic string */