diff options
Diffstat (limited to 'winsup/cygwin/nlsfuncs.cc')
-rw-r--r-- | winsup/cygwin/nlsfuncs.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index ddf6d14da..498b36008 100644 --- a/winsup/cygwin/nlsfuncs.cc +++ b/winsup/cygwin/nlsfuncs.cc @@ -332,7 +332,7 @@ locale_cmp (const void *a, const void *b) rebase all char * pointers within, up to the given size of the structure. */ static void rebase_locale_buf (const void *ptrv, const char *newbase, const char *oldbase, - const void *ptrvend) + const void *ptrvend) { const char **ptrs = (const char **) ptrv; const char **ptrsend = (const char **) ptrvend; @@ -694,7 +694,7 @@ __set_lc_time_from_win (const char *name, struct lc_time_T *_time_locale, } if (tmp != new_lc_time_buf) rebase_locale_buf (_time_locale, tmp, new_lc_time_buf, - _time_locale + 1); + _time_locale + 1); if (*lc_time_buf) free (*lc_time_buf); *lc_time_buf = tmp; @@ -740,7 +740,7 @@ __set_lc_numeric_from_win (const char *name, } if (tmp != new_lc_numeric_buf) rebase_locale_buf (_numeric_locale, tmp, new_lc_numeric_buf, - _numeric_locale + 1); + _numeric_locale + 1); if (*lc_numeric_buf) free (*lc_numeric_buf); *lc_numeric_buf = tmp; @@ -842,7 +842,7 @@ __set_lc_monetary_from_win (const char *name, } if (tmp != new_lc_monetary_buf) rebase_locale_buf (_monetary_locale, tmp, new_lc_monetary_buf, - _monetary_locale + 1); + _monetary_locale + 1); if (*lc_monetary_buf) free (*lc_monetary_buf); *lc_monetary_buf = tmp; |