mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix icc warnings: strlen() returns size_t
This commit is contained in:
parent
2841af4cec
commit
d39d861a36
2 changed files with 7 additions and 7 deletions
|
@ -44,7 +44,7 @@ PyOS_ascii_strtod(const char *nptr, char **endptr)
|
|||
double val = -1.0;
|
||||
struct lconv *locale_data;
|
||||
const char *decimal_point;
|
||||
int decimal_point_len;
|
||||
size_t decimal_point_len;
|
||||
const char *p, *decimal_point_pos;
|
||||
const char *end = NULL; /* Silence gcc */
|
||||
|
||||
|
@ -165,9 +165,8 @@ PyOS_ascii_formatd(char *buffer,
|
|||
{
|
||||
struct lconv *locale_data;
|
||||
const char *decimal_point;
|
||||
int decimal_point_len;
|
||||
size_t decimal_point_len, rest_len;
|
||||
char *p;
|
||||
int rest_len;
|
||||
char format_char;
|
||||
|
||||
/* g_return_val_if_fail (buffer != NULL, NULL); */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue