VirtualBox

Ignore:
Timestamp:
Nov 21, 2011 12:59:39 PM (13 years ago)
Author:
vboxsync
Message:

Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/stream.cpp

    r39380 r39381  
    437437    AssertPtrReturn(pStream, VERR_INVALID_HANDLE);
    438438    AssertReturn(pStream->u32Magic == RTSTREAM_MAGIC, VERR_INVALID_HANDLE);
    439     AssertReturn(fBinary == TRUE || fBinary == FALSE || fBinary == -1, VERR_INVALID_PARAMETER);
    440     AssertReturn(fCurrentCodeSet == TRUE || fCurrentCodeSet == FALSE || fCurrentCodeSet == -1, VERR_INVALID_PARAMETER);
     439    AssertReturn(fBinary == 1 /* true */ || fBinary == 0 /* false */ || fBinary == -1, VERR_INVALID_PARAMETER);
     440    AssertReturn(fCurrentCodeSet == 1 /* true */ || fCurrentCodeSet == 0 /* false */ || fCurrentCodeSet == -1, VERR_INVALID_PARAMETER);
    441441
    442442    rtStrmLock(pStream);
    443443
    444444    if (fBinary != -1)
    445         pStream->fBinary = fBinary != FALSE;
     445        pStream->fBinary = fBinary != 0 /* false */;
    446446    if (fCurrentCodeSet != -1)
    447         pStream->fCurrentCodeSet = fCurrentCodeSet != FALSE;
     447        pStream->fCurrentCodeSet = fCurrentCodeSet != 0 /* false */;
    448448
    449449    rtStrmUnlock(pStream);
Note: See TracChangeset for help on using the changeset viewer.

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