/* Convert first code point to hex, including the
* boiler plate before it */
output_length =
- my_sprintf(hex_string, "\\N{U+%X", (unsigned int) uv);
+ my_snprintf(hex_string, sizeof(hex_string),
+ "\\N{U+%X", (unsigned int) uv);
/* Make sure there is enough space to hold it */
d = off + SvGROW(sv, off
}
output_length =
- my_sprintf(hex_string, ".%X", (unsigned int) uv);
+ my_snprintf(hex_string, sizeof(hex_string),
+ ".%X", (unsigned int) uv);
d = off + SvGROW(sv, off
+ output_length