attempting to fix AIX, et al, bustage

git-svn-id: svn://10.0.0.236/trunk@91061 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%mozilla.org
2001-04-02 23:05:55 +00:00
parent 447399fb12
commit 7cbb7b5ebd
4 changed files with 8 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ nsCommonString::assign( const string_type& aReadable )
{
const nsSharedBufferHandle<char_type>* handle = aReadable.GetSharedBufferHandle();
if ( !handle )
handle = NS_AllocateContiguousHandleWithData(handle, aReadable, 1);
handle = NS_AllocateContiguousHandleWithData(handle, aReadable, PRUint32(1));
mBuffer = handle;
}
@@ -46,7 +46,7 @@ nsCommonCString::assign( const string_type& aReadable )
{
const nsSharedBufferHandle<char_type>* handle = aReadable.GetSharedBufferHandle();
if ( !handle )
handle = NS_AllocateContiguousHandleWithData(handle, aReadable, 1);
handle = NS_AllocateContiguousHandleWithData(handle, aReadable, PRUint32(1));
mBuffer = handle;
}