Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-11615

Fix switch_ivr_originate build warning in macOS

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.5, 20.19.1
    • Component/s: core
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      139aac04ddf75bdf9f789e9cdc030b45ed1ff663
    • GIT Master Revision hash::
      139aac04ddf75bdf9f789e9cdc030b45ed1ff663

      Description

      switch_event.c:105:8: warning: format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
             micro_total, loops, micro_per, rate_per_sec);
             ^~~~~~~~~~~
      1 warning generated.
        CCLD switch_event
        CC switch_hash.o
      switch_hash.c:135:8: warning: format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
             micro_total, loops, micro_per, rate_per_sec);
             ^~~~~~~~~~~
      1 warning generated.
        CCLD switch_hash
        CC switch_ivr_originate.o
      switch_ivr_originate.c:45:1: warning: control may reach end of non-void function [-Wreturn-type]
      }
      ^
      switch_ivr_originate.c:52:1: warning: control may reach end of non-void function [-Wreturn-type]
      }
      ^

        Attachments

          Activity

            People

            • Assignee:
              seven Seven Du
              Reporter:
              seven Seven Du
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: