[Toybox] [PATCH] Fix build when wchar_t is unsigned.

enh enh at google.com
Sat Mar 26 11:00:23 PDT 2016


  external/toybox/lib/linestack.c:84:5: error: conflicting types for
'crunch_str'
  int crunch_str(char **str, int width, FILE *out, char *escmore,
      ^
  external/toybox/lib/lib.h:228:5: note: previous declaration is here
  int crunch_str(char **str, int width, FILE *out, char *escmore,
      ^

I'm not sure whether the interface was intended to be wchar_t or int, but
switching to int is the smaller change...
---
 lib/lib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-build-when-wchar_t-is-unsigned.patch
Type: text/x-patch
Size: 1246 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160326/264a2220/attachment.bin>


More information about the Toybox mailing list