mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
whoops, that's supposed to be a 32bit int
This commit is contained in:
parent
d839a23886
commit
b0217bd1ff
@ -52,7 +52,7 @@ nsMIMEInfoImpl::GetFileExtensions(PRUint32 *elementCount, char ***extensions) {
|
||||
char **_retExts = (char**)nsMemory::Alloc((count)*sizeof(char*));
|
||||
if (!_retExts) return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
for (PRUint8 i=0; i < count; i++) {
|
||||
for (PRUint32 i=0; i < count; i++) {
|
||||
nsCString* ext = mExtensions.CStringAt(i);
|
||||
_retExts[i] = ext->ToNewCString();
|
||||
if (!_retExts[i]) {
|
||||
|
@ -52,7 +52,7 @@ nsMIMEInfoImpl::GetFileExtensions(PRUint32 *elementCount, char ***extensions) {
|
||||
char **_retExts = (char**)nsMemory::Alloc((count)*sizeof(char*));
|
||||
if (!_retExts) return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
for (PRUint8 i=0; i < count; i++) {
|
||||
for (PRUint32 i=0; i < count; i++) {
|
||||
nsCString* ext = mExtensions.CStringAt(i);
|
||||
_retExts[i] = ext->ToNewCString();
|
||||
if (!_retExts[i]) {
|
||||
|
Loading…
Reference in New Issue
Block a user