mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-28 09:29:16 +00:00
Make MSC happy and warning-free.
This commit is contained in:
parent
23e5a88e4d
commit
fa2bd0b91b
@ -258,7 +258,7 @@ Nu_FunnelNew(NuArchive* pArchive, NuDataSink* pDataSink, NuValue convertEOL,
|
|||||||
pFunnel->convertEOLFrom = kNuEOLUnknown;
|
pFunnel->convertEOLFrom = kNuEOLUnknown;
|
||||||
pFunnel->pProgress = pProgress;
|
pFunnel->pProgress = pProgress;
|
||||||
|
|
||||||
pFunnel->checkStripHighASCII = pArchive->valStripHighASCII;
|
pFunnel->checkStripHighASCII = (pArchive->valStripHighASCII != 0);
|
||||||
pFunnel->doStripHighASCII = false; /* determined on first write */
|
pFunnel->doStripHighASCII = false; /* determined on first write */
|
||||||
|
|
||||||
pFunnel->isFirstWrite = true;
|
pFunnel->isFirstWrite = true;
|
||||||
@ -401,6 +401,9 @@ static const char gNuIsBinary[256] = {
|
|||||||
*
|
*
|
||||||
* We will also enable a "high-ASCII" stripper if requested. This is
|
* We will also enable a "high-ASCII" stripper if requested. This is
|
||||||
* only enabled when EOL conversions are enabled.
|
* only enabled when EOL conversions are enabled.
|
||||||
|
*
|
||||||
|
* Returns kConvEOLOff or kConvEOLOn, and sets pFunnel->doStripHighASCII
|
||||||
|
* if pFunnel->CheckStripHighASCII is set.
|
||||||
*/
|
*/
|
||||||
static NuValue
|
static NuValue
|
||||||
Nu_DetermineConversion(NuFunnel* pFunnel, const uchar* buffer, ulong count)
|
Nu_DetermineConversion(NuFunnel* pFunnel, const uchar* buffer, ulong count)
|
||||||
|
Loading…
Reference in New Issue
Block a user