Title: [248335] trunk/Source/WebCore
Revision
248335
Author
[email protected]
Date
2019-08-06 18:16:22 -0700 (Tue, 06 Aug 2019)

Log Message

Fix 32-bit Linux build after r248282
https://bugs.webkit.org/show_bug.cgi?id=200491

Patch by Loïc Yhuel <[email protected]> on 2019-08-06
Reviewed by Youenn Fablet.

minInterToneGapMs must be a size_t like interToneGap for std::max call.
The other constants are updated for consistency, even if the compiler
was able to cast them automatically.

* Modules/mediastream/RTCDTMFSender.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (248334 => 248335)


--- trunk/Source/WebCore/ChangeLog	2019-08-07 00:33:53 UTC (rev 248334)
+++ trunk/Source/WebCore/ChangeLog	2019-08-07 01:16:22 UTC (rev 248335)
@@ -1,3 +1,16 @@
+2019-08-06  Loïc Yhuel  <[email protected]>
+
+        Fix 32-bit Linux build after r248282
+        https://bugs.webkit.org/show_bug.cgi?id=200491
+
+        Reviewed by Youenn Fablet.
+
+        minInterToneGapMs must be a size_t like interToneGap for std::max call.
+        The other constants are updated for consistency, even if the compiler
+        was able to cast them automatically.
+
+        * Modules/mediastream/RTCDTMFSender.cpp:
+
 2019-08-06  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r248289.

Modified: trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp (248334 => 248335)


--- trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp	2019-08-07 00:33:53 UTC (rev 248334)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp	2019-08-07 01:16:22 UTC (rev 248335)
@@ -37,9 +37,9 @@
 
 WTF_MAKE_ISO_ALLOCATED_IMPL(RTCDTMFSender);
 
-static const unsigned long minToneDurationMs = 40;
-static const unsigned long maxToneDurationMs = 6000;
-static const unsigned long minInterToneGapMs = 30;
+static const size_t minToneDurationMs = 40;
+static const size_t maxToneDurationMs = 6000;
+static const size_t minInterToneGapMs = 30;
 
 RTCDTMFSender::RTCDTMFSender(ScriptExecutionContext& context, RTCRtpSender& sender, std::unique_ptr<RTCDTMFSenderBackend>&& backend)
     : ActiveDOMObject(&context)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to