mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-27 17:29:57 +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->pProgress = pProgress;
|
||||
|
||||
pFunnel->checkStripHighASCII = pArchive->valStripHighASCII;
|
||||
pFunnel->checkStripHighASCII = (pArchive->valStripHighASCII != 0);
|
||||
pFunnel->doStripHighASCII = false; /* determined on first write */
|
||||
|
||||
pFunnel->isFirstWrite = true;
|
||||
@ -401,6 +401,9 @@ static const char gNuIsBinary[256] = {
|
||||
*
|
||||
* We will also enable a "high-ASCII" stripper if requested. This is
|
||||
* only enabled when EOL conversions are enabled.
|
||||
*
|
||||
* Returns kConvEOLOff or kConvEOLOn, and sets pFunnel->doStripHighASCII
|
||||
* if pFunnel->CheckStripHighASCII is set.
|
||||
*/
|
||||
static NuValue
|
||||
Nu_DetermineConversion(NuFunnel* pFunnel, const uchar* buffer, ulong count)
|
||||
|
Loading…
Reference in New Issue
Block a user