diff options
Diffstat (limited to 'src/string.c')
-rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index 6a433cdb..52378a6a 100644 --- a/src/string.c +++ b/src/string.c @@ -119,7 +119,7 @@ serd_strtod(const char* str, size_t* end) } if (end) { - *end = s - str; + *end = (size_t)(s - str); } return result * sign; |