summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/string/strformat.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2008-01-09 13:11:37 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2008-01-09 13:11:37 +0000
commit7c26c10f437d1734cfb6cd47ff9bb672c40972e8 (patch)
treeab73adab8f16208bcd0972a473640bc919e8de2e /src/VBox/Runtime/common/string/strformat.cpp
parent519e159bf468c83c6296e89124f075fdf36d5844 (diff)
downloadVirtualBox-svn-7c26c10f437d1734cfb6cd47ff9bb672c40972e8.tar.gz
LED and Network Config interfaces added. Fix in TMAll.cpp: Assertions in PENDING_STOP_SCHEDULE could be
triggered erroneously when a timer stop is being scheduled by EMT and another thread sets the timer. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@6296 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/common/string/strformat.cpp')
-rw-r--r--src/VBox/Runtime/common/string/strformat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Runtime/common/string/strformat.cpp b/src/VBox/Runtime/common/string/strformat.cpp
index e8359752cd5..331834619f8 100644
--- a/src/VBox/Runtime/common/string/strformat.cpp
+++ b/src/VBox/Runtime/common/string/strformat.cpp
@@ -219,7 +219,7 @@ static int rtStrFormatNumber(char *psz, KSIZE64 ullValue, unsigned int uiBase, s
/*
* Special (0/0x).
*/
- if (fFlags & RTSTR_F_SPECIAL && (uiBase % 8) == 0)
+ if ((fFlags & RTSTR_F_SPECIAL) && (uiBase % 8) == 0)
{
psz[i++] = '0';
if (uiBase == 16)