]> git.ipfire.org Git - thirdparty/asterisk.git/commit
addons/res_config_mysql: silense warnings about printf format errors.
authorJaco Kroon <jaco@uls.co.za>
Thu, 20 Feb 2020 12:52:06 +0000 (14:52 +0200)
committerJaco Kroon <jaco@uls.co.za>
Mon, 24 Feb 2020 14:22:03 +0000 (08:22 -0600)
commit77d4923307e524139a509d3b9010c69d3fe804a6
treee66ab60da25ffeee81526a6a6c3c597e36902150
parentfd31ef67b984774d9ba5a4163ae48ef2931c59da
addons/res_config_mysql: silense warnings about printf format errors.

Warnings without this:

res_config_mysql.c: In function 'update2_mysql':
res_config_mysql.c:741:15: warning: format '%llu' expects argument of type
    'long long unsigned int', but argument 6 has type 'my_ulonglong'
    {aka 'long unsigned int'} [-Wformat=]
ast_debug(1, "MySQL RealTime: Updated %llu rows on table: %s\n",
    numrows, tablename);

(reformatted for readability within line-wrap)

Change-Id: I2af4d419a37c1a7eeee750cf9ae4a9a2b3a37fd3
addons/res_config_mysql.c