diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-28 17:49:46 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-04 11:34:45 -0700 |
commit | 2e1b3325c63cd6c43a10a08acfc54d1fb29a5c03 (patch) | |
tree | bf02e8d37f7ea5ffe28d293ad7bd3b690cc7dae6 /fallback.cpp | |
parent | 1b8f1650dc9959ace0df2037f751682e73b5bb1d (diff) |
Warning cleanup
Diffstat (limited to 'fallback.cpp')
-rw-r--r-- | fallback.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fallback.cpp b/fallback.cpp index 50954ab0..473a046e 100644 --- a/fallback.cpp +++ b/fallback.cpp @@ -915,7 +915,7 @@ int wcwidth( wchar_t c ) #endif #ifndef HAVE_WCSNDUP -wchar_t *wcsndup( const wchar_t *in, int c ) +wchar_t *wcsndup( const wchar_t *in, size_t c ) { wchar_t *res = (wchar_t *)malloc( sizeof(wchar_t)*(c+1) ); if( res == 0 ) |