summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parsedate/parsedate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsedate/parsedate.cpp b/src/parsedate/parsedate.cpp
index 3697693f9d..194b83780b 100644
--- a/src/parsedate/parsedate.cpp
+++ b/src/parsedate/parsedate.cpp
@@ -206,7 +206,7 @@ int strcasecompare(const char *first, const char *second)
** signed long to signed int
*/
-int curlx_sltosi(long slnum)
+int mbgl_curlx_sltosi(long slnum)
{
return slnum > INT_MAX ? INT_MAX : slnum < INT_MIN ? INT_MIN : (int)slnum;
}
@@ -545,7 +545,7 @@ static int parsedate(const char *date, time_t *output)
return PARSEDATE_FAIL;
#endif
- val = curlx_sltosi(lval);
+ val = mbgl_curlx_sltosi(lval);
if((tzoff == -1) &&
((end - date) == 4) &&