diff --git a/string/public/nsBufferHandle.h b/string/public/nsBufferHandle.h index 766e862ccfbc..2126a9797492 100755 --- a/string/public/nsBufferHandle.h +++ b/string/public/nsBufferHandle.h @@ -172,7 +172,7 @@ nsSharedBufferHandle::~nsSharedBufferHandle() { CharT* string_storage = mDataStart; if ( mFlags & kIsStorageDefinedSeparately ) - string_storage = NS_REINTERPRET_CAST(typename nsXXXBufferHandle*, this)->StorageStart(); + string_storage = NS_REINTERPRET_CAST(nsXXXBufferHandle*, this)->StorageStart(); nsMemory::Free(string_storage); } } diff --git a/xpcom/ds/nsBufferHandle.h b/xpcom/ds/nsBufferHandle.h index 766e862ccfbc..2126a9797492 100755 --- a/xpcom/ds/nsBufferHandle.h +++ b/xpcom/ds/nsBufferHandle.h @@ -172,7 +172,7 @@ nsSharedBufferHandle::~nsSharedBufferHandle() { CharT* string_storage = mDataStart; if ( mFlags & kIsStorageDefinedSeparately ) - string_storage = NS_REINTERPRET_CAST(typename nsXXXBufferHandle*, this)->StorageStart(); + string_storage = NS_REINTERPRET_CAST(nsXXXBufferHandle*, this)->StorageStart(); nsMemory::Free(string_storage); } } diff --git a/xpcom/string/public/nsBufferHandle.h b/xpcom/string/public/nsBufferHandle.h index 766e862ccfbc..2126a9797492 100755 --- a/xpcom/string/public/nsBufferHandle.h +++ b/xpcom/string/public/nsBufferHandle.h @@ -172,7 +172,7 @@ nsSharedBufferHandle::~nsSharedBufferHandle() { CharT* string_storage = mDataStart; if ( mFlags & kIsStorageDefinedSeparately ) - string_storage = NS_REINTERPRET_CAST(typename nsXXXBufferHandle*, this)->StorageStart(); + string_storage = NS_REINTERPRET_CAST(nsXXXBufferHandle*, this)->StorageStart(); nsMemory::Free(string_storage); } }