⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 248335 in webkit


Ignore:
Timestamp:
Aug 6, 2019, 6:16:22 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Loïc Yhuel <loic.yhuel@softathome.com> 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:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r248327 r248335  
     12019-08-06  Loïc Yhuel  <loic.yhuel@softathome.com>
     2
     3        Fix 32-bit Linux build after r248282
     4        https://bugs.webkit.org/show_bug.cgi?id=200491
     5
     6        Reviewed by Youenn Fablet.
     7
     8        minInterToneGapMs must be a size_t like interToneGap for std::max call.
     9        The other constants are updated for consistency, even if the compiler
     10        was able to cast them automatically.
     11
     12        * Modules/mediastream/RTCDTMFSender.cpp:
     13
    1142019-08-06  Commit Queue  <commit-queue@webkit.org>
    215
  • trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp

    r248282 r248335  
    3838WTF_MAKE_ISO_ALLOCATED_IMPL(RTCDTMFSender);
    3939
    40 static const unsigned long minToneDurationMs = 40;
    41 static const unsigned long maxToneDurationMs = 6000;
    42 static const unsigned long minInterToneGapMs = 30;
     40static const size_t minToneDurationMs = 40;
     41static const size_t maxToneDurationMs = 6000;
     42static const size_t minInterToneGapMs = 30;
    4343
    4444RTCDTMFSender::RTCDTMFSender(ScriptExecutionContext& context, RTCRtpSender& sender, std::unique_ptr<RTCDTMFSenderBackend>&& backend)
Note: See TracChangeset for help on using the changeset viewer.