[FS-11615] Fix switch_ivr_originate build warning in macOS Created: 17/Jan/19  Updated: 23/Jan/19  Resolved: 17/Jan/19

Status: Closed
Project: FreeSWITCH
Component/s: core
Affects Version/s: None
Fix Version/s: 1.8.5, 20.19.1

Type: Improvement Priority: Minor
Reporter: Seven Du Assignee: Seven Du
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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]
}
^

Generated at Wed May 22 14:33:08 CDT 2019 using Jira 8.1.0#801000-sha1:2e1cd1bb771978cda2c5e8f3f10539ab180613f6.