The size_t type is either compatible with an int on 32-bit target, or a long on 64-bit targets. It could even be a long even on some 32-bit targets. Let's use the z qualifier in the printf format to be compatible with whatever flavor in use. In case of pointers, let's just use %p with pointers directly and avoid casts altogether. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> |
||
|---|---|---|
| .. | ||
| class | ||
| bos.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| os_desc.c | ||
| os_desc.h | ||
| usb_descriptor.c | ||
| usb_descriptor.h | ||
| usb_device.c | ||