From b904aa78e854b55414a5f6ea0a995fe9a852ee99 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 4 Aug 2012 11:07:42 -0700 Subject: Additional warning cleanup and switching from int to size_t where appropriate --- wutil.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wutil.h') diff --git a/wutil.h b/wutil.h index e05bd077..1b7cb308 100644 --- a/wutil.h +++ b/wutil.h @@ -141,4 +141,7 @@ int wmkdir( const wcstring &dir, int mode ); */ int wrename( const wcstring &oldName, const wcstring &newName ); +/** Like wcstol(), but fails on a value outside the range of an int */ +int fish_wcstoi(const wchar_t *str, wchar_t ** endptr, int base); + #endif -- cgit v1.2.3