return value var

ulab-original
jsorg71 17 years ago
parent d04895c5d0
commit 065c9b6a24

@ -1079,9 +1079,11 @@ int APP_CC
g_mbstowcs(twchar* dest, const char* src, int n) g_mbstowcs(twchar* dest, const char* src, int n)
{ {
wchar_t* ldest; wchar_t* ldest;
int rv;
ldest = (wchar_t*)dest; ldest = (wchar_t*)dest;
return mbstowcs(ldest, src, n); rv = mbstowcs(ldest, src, n);
return rv;
} }
/*****************************************************************************/ /*****************************************************************************/
@ -1089,9 +1091,11 @@ int APP_CC
g_wcstombs(char* dest, const twchar* src, int n) g_wcstombs(char* dest, const twchar* src, int n)
{ {
const wchar_t* lsrc; const wchar_t* lsrc;
int rv;
lsrc = (const wchar_t*)src; lsrc = (const wchar_t*)src;
return wcstombs(dest, lsrc, n); rv = wcstombs(dest, lsrc, n);
return rv;
} }
/*****************************************************************************/ /*****************************************************************************/

Loading…
Cancel
Save