VirtualBox

Changeset 28904 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Apr 29, 2010 3:13:22 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60848
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/utf8-posix.cpp

    r28903 r28904  
    8585    for (size_t i = 0; i < RT_ELEMENTS(pThread->ahIconvs); i++)
    8686    {
    87         iconv_t hIconv = pThread->ahIconvs[i];
    88         pThread->ahIconvs[i] = NULL;
     87        iconv_t hIconv = (iconv_t)pThread->ahIconvs[i];
     88        pThread->ahIconvs[i] = (iconv_t)-1;
    8989        if (hIconv != (iconv_t)-1)
    9090            iconv_close(hIconv);
     
    369369            return rtstrConvertCached(pchInput, cchInput, pszInputCS,
    370370                                      (void **)ppszOutput, cbOutput, pszOutputCS,
    371                                       cFactor, &pThread->ahIconvs[enmCacheIdx]);
     371                                      cFactor, (iconv_t *)&pThread->ahIconvs[enmCacheIdx]);
    372372    }
    373373#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette