VirtualBox

Changeset 39382 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Nov 21, 2011 1:32:04 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74981
Message:

Use RT_BOOL!

File:
1 edited

Legend:

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

    r39381 r39382  
    443443
    444444    if (fBinary != -1)
    445         pStream->fBinary = fBinary != 0 /* false */;
     445        pStream->fBinary = RT_BOOL(fBinary);
    446446    if (fCurrentCodeSet != -1)
    447         pStream->fCurrentCodeSet = fCurrentCodeSet != 0 /* false */;
     447        pStream->fCurrentCodeSet = RT_BOOL(fCurrentCodeSet);
    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