Re: [MM master] Compile error and patch



On 19/01/13 17:50, Marius B. Kotsbak wrote:
> "power_state" is an enum, not a string:
> 
> error: format '%s' expects argument of type 'char *', but argument 5 has type 'unsigned int' [-Werror=format]

We can print all enums as strings, so better do that instead:
http://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=9d5794e9e4e86239f450042223dc606b3472c067

Thanks for reporting!

-- 
Aleksander


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]