Control: tags -1 patch

On Tue, 31 Jan 2017 09:31:34 +0000 Matthias Klose wrote:
> geis_v1.c: In function '_v1_subscribe_device':
> geis_v1.c:613:20: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
>    if (gesture_list == GEIS_ALL_GESTURES)
>                     ^~
> geis_v1.c:613:7: note: did you mean to dereference the pointer?
>    if (gesture_list == GEIS_ALL_GESTURES)
>        ^
> geis_v1.c: In function 'geis_unsubscribe':
> geis_v1.c:760:20: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
>    if (gesture_list == GEIS_ALL_GESTURES)
>                     ^~
> geis_v1.c:760:7: note: did you mean to dereference the pointer?
>    if (gesture_list == GEIS_ALL_GESTURES)
>        ^

Using a web search, I found out that there exists a patch.

https://github.com/openembedded/meta-openembedded/blob/master/meta-oe/recipes-support/canonical-multitouch/geis/0001-libgeis-Compare-the-first-character-of-string-to-nul.patch
https://patches.linaro.org/patch/98171/

With best regards,
Juhani

Reply via email to