snprintf() return value changes