Fix build warnings.
git-svn-id: svn://10.0.0.236/trunk@39760 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -75,7 +75,7 @@ nsOutputStream& operator << (nsOutputStream& s, const nsPersistentFileDescriptor
|
||||
nsSimpleCharString data;
|
||||
d.GetData(data, dataSize);
|
||||
// First write (in hex) the length of the data to follow. Exactly 8 bytes
|
||||
sprintf(littleBuf, "%0.8x", dataSize);
|
||||
sprintf(littleBuf, "%.8x", dataSize);
|
||||
s << littleBuf;
|
||||
// Now write the data itself
|
||||
s << (const char*)data;
|
||||
|
||||
Reference in New Issue
Block a user