[MDEV-13218] warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ Created: 2017-06-29 Updated: 2017-07-05 Resolved: 2017-07-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.2.6 |
| Fix Version/s: | 10.2.7 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Guillermo Céspedes Tabárez | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | compile, warning | ||
| Environment: |
Debian 8.8 x32 - Digitalocean
|
||
| Issue Links: |
|
||||||||||||
| Description |
|
[ 43%] Building C object libmariadb/unittest/libmariadb/CMakeFiles/ps.dir/ps.c.o |
| Comments |
| Comment by Daniel Black [ 2017-06-30 ] |
|
The rest of the server code uses %z for size_t |
| Comment by Guillermo Céspedes Tabárez [ 2017-06-30 ] |
|
Would it be correct to change it to %zu ? |
| Comment by Elena Stepanova [ 2017-07-03 ] |
|
Can be seen in buildbot |