зеркало из https://github.com/mozilla/gecko-dev.git
Bug 579517 follow-up: Remove NSPR types that crept in
This commit is contained in:
Родитель
5b1c46a9cb
Коммит
97b5f363cc
|
@ -1117,9 +1117,9 @@ PackPDU(const BluetoothAvrcpElementAttribute& aIn, BluetoothDaemonPDU& aPDU)
|
|||
return NS_ERROR_ILLEGAL_VALUE; /* integer overflow detected */
|
||||
}
|
||||
|
||||
PRUint32 clen = cstr.Length() + 1; /* include \0 character */
|
||||
uint32_t clen = cstr.Length() + 1; /* include \0 character */
|
||||
|
||||
rv = PackPDU(PackConversion<PRUint32, uint8_t>(clen), aPDU);
|
||||
rv = PackPDU(PackConversion<uint32_t, uint8_t>(clen), aPDU);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
|
|
@ -1070,9 +1070,9 @@ PackPDU(const BluetoothAvrcpElementAttribute& aIn, BluetoothDaemonPDU& aPDU)
|
|||
return NS_ERROR_ILLEGAL_VALUE; /* integer overflow detected */
|
||||
}
|
||||
|
||||
PRUint32 clen = cstr.Length() + 1; /* include \0 character */
|
||||
uint32_t clen = cstr.Length() + 1; /* include \0 character */
|
||||
|
||||
rv = PackPDU(PackConversion<PRUint32, uint8_t>(clen), aPDU);
|
||||
rv = PackPDU(PackConversion<uint32_t, uint8_t>(clen), aPDU);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
|
|
@ -112,8 +112,8 @@ using dom::SupportedVideoConstraints;
|
|||
static bool
|
||||
HostInDomain(const nsCString &aHost, const nsCString &aPattern)
|
||||
{
|
||||
PRInt32 patternOffset = 0;
|
||||
PRInt32 hostOffset = 0;
|
||||
int32_t patternOffset = 0;
|
||||
int32_t hostOffset = 0;
|
||||
|
||||
// Act on '*.' wildcard in the left-most position in a domain pattern.
|
||||
if (aPattern.Length() > 2 && aPattern[0] == '*' && aPattern[1] == '.') {
|
||||
|
|
|
@ -436,7 +436,7 @@ PluginAsyncSurrogate::SetStreamType(NPStream* aStream, uint16_t aStreamType)
|
|||
void
|
||||
PluginAsyncSurrogate::OnInstanceCreated(PluginInstanceParent* aInstance)
|
||||
{
|
||||
for (PRUint32 i = 0, len = mPendingNewStreamCalls.Length(); i < len; ++i) {
|
||||
for (uint32_t i = 0, len = mPendingNewStreamCalls.Length(); i < len; ++i) {
|
||||
PendingNewStreamCall& curPendingCall = mPendingNewStreamCalls[i];
|
||||
uint16_t streamType = NP_NORMAL;
|
||||
NPError curError = aInstance->NPP_NewStream(
|
||||
|
|
Загрузка…
Ссылка в новой задаче