fixed compile time warning
config.cpp:1597: int format, size_t arg (arg 3) by changing %d to %lu
This commit is contained in:
parent
4df6dd1851
commit
ec5eb8a653
1 changed files with 1 additions and 1 deletions
|
@ -1594,7 +1594,7 @@ config config::get_diff(const config& c) const
|
|||
else if(b.size() - bi < a.size() - ai) {
|
||||
config& new_insert = res.add_child("insert_child");
|
||||
char buf[50];
|
||||
sprintf(buf,"%d",ai);
|
||||
sprintf(buf,"%lu",ai);
|
||||
new_insert.values["index"] = buf;
|
||||
new_insert.add_child(*itor,*a[ai]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue