Bug 676924 - Use JSUint64 instead of uint64. r=khuey

This commit is contained in:
Landry Breuil 2011-08-09 00:58:11 +02:00
parent 65b635c946
commit 2c09c4f03f
2 changed files with 2 additions and 2 deletions

View File

@ -5952,7 +5952,7 @@ class PostMessageEvent : public nsRunnable
private:
nsRefPtr<nsGlobalWindow> mSource;
nsString mCallerOrigin;
uint64* mMessage;
JSUint64* mMessage;
size_t mMessageLen;
nsRefPtr<nsGlobalWindow> mTargetWindow;
nsCOMPtr<nsIURI> mProvidedOrigin;

View File

@ -835,7 +835,7 @@ IDBObjectStore::GetStructuredCloneDataFromStatement(
nsresult rv = aStatement->GetSharedBlob(aIndex, &dataLength, &data);
NS_ENSURE_SUCCESS(rv, NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR);
return aBuffer.copy(reinterpret_cast<const uint64 *>(data), dataLength) ?
return aBuffer.copy(reinterpret_cast<const uint64_t *>(data), dataLength) ?
NS_OK :
NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR;
}