diff options
| author | Geert Uytterhoeven <[email protected]> | 2008-08-19 15:28:23 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2008-08-19 15:35:27 +0000 |
| commit | c85e2031eb55381a5e2f0f66c2e1d62ecd58eb85 (patch) | |
| tree | e735cd01a23f2f3341e4f5adc341ae36fd169e39 /fs/proc/array.c | |
| parent | Input: remove version.h from drivers that don't need it (diff) | |
| download | kernel-c85e2031eb55381a5e2f0f66c2e1d62ecd58eb85.tar.gz kernel-c85e2031eb55381a5e2f0f66c2e1d62ecd58eb85.zip | |
Input: evdev - fix printf() format for sizeof
commit f2afa7711f8585ffc088ba538b9a510e0d5dca12 ("Input: paper over a bug in
Synaptics X driver") introduced a compiler warning on 64-bit platforms, as
sizeof() returns a size_t, not an (unsigned) int:
| drivers/input/evdev.c: In function 'handle_eviocgbit':
| drivers/input/evdev.c:684: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
Use the proper `z' modifier for size_t, and make the printf() formats for the
sizes unsigned while we're at it.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
