On Thu, 2017-02-02 at 13:21 +0100, Arnd Bergmann wrote:
> This warning is harmless as size_t is always as wide as 'unsigned
> long':
>
> fs/cifs/smb2ops.c:2008:245: error: format '%lu' expects argument of
> type 'long unsigned int', but argument 5 has type 'size_t {aka
> unsigned int}' [-Werror=fo
2017-02-02 4:21 GMT-08:00 Arnd Bergmann :
> This warning is harmless as size_t is always as wide as 'unsigned long':
>
> fs/cifs/smb2ops.c:2008:245: error: format '%lu' expects argument of type
> 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}'
> [-Werror=format=]
>
> Usin
This warning is harmless as size_t is always as wide as 'unsigned long':
fs/cifs/smb2ops.c:2008:245: error: format '%lu' expects argument of type 'long
unsigned int', but argument 5 has type 'size_t {aka unsigned int}'
[-Werror=format=]
Using %zu however is the correct format string that we don
3 matches
Mail list logo