[Toybox] [PATCH] patch: avoid upsetting the compiler.

enh enh at google.com
Thu Feb 27 21:59:18 PST 2020


  external/toybox/toys/posix/patch.c:129:45: error: pointer type mismatch
      ('int (*)(char *, char *)' and 'void *')
  int (*lcmp)(char *aa, char *bb) = FLAG(l) ? loosecmp : (void *)strcmp;
                                            ^ ~~~~~~~~   ~~~~~~~~~~~~~~
---
 toys/posix/patch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-patch-avoid-upsetting-the-compiler.patch
Type: text/x-patch
Size: 1403 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200227/5ffe2742/attachment-0002.bin>


More information about the Toybox mailing list