diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 09:19:12 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 09:20:21 +0300 |
commit | b896f60a73aea32843a0a86a35def669d82503af (patch) | |
tree | 611533b47b06d3714ec5905323f0105efa20ce44 /sql/wsrep_notify.cc | |
parent | 0dc442ac61ac7ff1a1d6bd7d6090c0f2251fb558 (diff) | |
download | mariadb-git-b896f60a73aea32843a0a86a35def669d82503af.tar.gz |
Fix -Wformat and -Wnonnull-compare for WSREP
Diffstat (limited to 'sql/wsrep_notify.cc')
-rw-r--r-- | sql/wsrep_notify.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_notify.cc b/sql/wsrep_notify.cc index ad94aecb6b4..ef9dd872075 100644 --- a/sql/wsrep_notify.cc +++ b/sql/wsrep_notify.cc @@ -49,7 +49,7 @@ void wsrep_notify_status(enum wsrep::server_state::state status, " --primary %s", view->view_seqno().get() >= 0 ? "yes" : "no"); cmd_off += snprintf (cmd_ptr + cmd_off, cmd_len - cmd_off, - " --index %ld", view->own_index()); + " --index %zd", view->own_index()); const std::vector<wsrep::view::member>& members(view->members()); if (members.size()) |