=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for catdoc-0.94.4 --- all --- for i in src doc charsets desktop; do (cd $i; /opt/pkg/bin/bmake all); done --- catdoc.o --- --- reader.o --- --- writer.o --- --- analyze.o --- --- rtfread.o --- --- charsets.o --- --- substmap.o --- --- fileutil.o --- --- catdoc.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c catdoc.c --- reader.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c reader.c --- writer.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c writer.c --- analyze.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c analyze.c --- rtfread.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c rtfread.c --- charsets.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c charsets.c --- substmap.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c substmap.c --- fileutil.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c fileutil.c --- analyze.o --- analyze.c:43:14: warning: passing 'unsigned char [129]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ analyze.c:47:21: warning: passing 'unsigned char [129]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ analyze.c:49:21: warning: passing 'unsigned char [129]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ analyze.c:54:14: warning: passing 'unsigned char [129]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ analyze.c:75:14: warning: passing 'unsigned char [129]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] copy_out(f,buffer); ^~~~~~ ./catdoc.h:220:30: note: passing argument to parameter 'header' here void copy_out(FILE *f, char *header); ^ --- confutil.o --- --- numutils.o --- --- ole.o --- --- confutil.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c confutil.c --- analyze.o --- 5 warnings generated. --- numutils.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c numutils.c --- ole.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c ole.c --- xls2csv.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c xls2csv.c --- sheet.o --- --- xlsparse.o --- --- sheet.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c sheet.c --- xlsparse.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c xlsparse.c --- catppt.o --- --- pptparse.o --- --- catppt.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c catppt.c --- ole.o --- ole.c:100:14: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ ole.c:100:21: warning: passing 'unsigned char [9]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:44: note: passing argument to parameter '__s2' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ --- pptparse.o --- clang -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/opt/pkg/share/catdoc\" -DSYSTEMRC=\"/opt/pkg/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -Dunix -D__unix -I/opt/pkg/include -c pptparse.c --- ole.o --- ole.c:464:35: warning: if statement has empty body [-Wempty-body] if (newoffset != e->file_offset); ^ ole.c:464:35: note: put the semicolon on a separate line to silence this warning --- sheet.o --- sheet.c:97:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strtod(value,&endptr); ^~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:165:28: note: passing argument to parameter here double strtod(const char *, char **) __DARWIN_ALIAS(strtod); ^ --- xlsparse.o --- xlsparse.c:96:20: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] rectype=getshort(buffer,0); ^~~~~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:102:19: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] reclen=getshort(buffer,0); ^~~~~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:113:31: warning: passing 'unsigned char [18000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] process_item(rectype,reclen,rec); ^~~ ./xls.h:37:51: note: passing argument to parameter 'rec' here void process_item (int rectype, int reclen, char *rec); ^ xlsparse.c:139:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_sst(sstBuffer,sstBytes); ^~~~~~~~~ ./xls.h:36:22: note: passing argument to parameter 'sstbuf' here void parse_sst(char *sstbuf,int bufsize); ^ xlsparse.c:154:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] codepage=getshort(rec,0); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:164:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] format_code=getshort(rec,0); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:195:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sstBuffer=(char*)malloc(reclen); ^~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:223:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:224:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] col = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:227:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=copy_unicode_string(&src); ^~~~~~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:231:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:232:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] col = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:240:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:241:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] startcol = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:242:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] endcol=getshort(rec,reclen-2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:248:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int row = getshort(rec,0); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:249:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int col = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:251:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int string_no=getshort(rec,6); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:266:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len=strlen(sst[string_no]); ^~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ xlsparse.c:267:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] outptr=*pcell=malloc(len+1); ^~~~~~~~~~~~~~~~~~~~~ xlsparse.c:268:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(outptr,sst[string_no]); ^~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ xlsparse.c:271:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(*pcell,""); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ xlsparse.c:283:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0)-startrow; ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:284:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] col = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:286:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:286:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:293:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0)-startrow; ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:294:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] col = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:296:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:296:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:296:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:305:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0)-startrow; ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:306:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] col = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:308:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] format_code = getshort(rec,4); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:309:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_rk(rec+6,format_code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:315:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0)-startrow; ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:316:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] startcol = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:317:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] endcol = getshort(rec,reclen-2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:322:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] format_code=getshort(rec,offset); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:323:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_rk(rec+offset+2,format_code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:332:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] row = getshort(rec,0)-startrow; ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:333:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- sheet.o --- 1 warning generated. --- xlsparse.o --- col = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:341:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(buf); ^~~~~~~~~~~~ xlsparse.c:345:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(buf); ^~~~~~~~~~~~ xlsparse.c:350:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] int format_code=getshort(rec,4); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:351:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pcell=strdup(format_double(rec,6,format_code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:361:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *saved_reference=copy_unicode_string(&src); ^~~~~~~~~~~~~~~~~~~~~~~~~~ xlsparse.c:374:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] short int formatIndex = getshort(rec,2); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ --- pptparse.o --- pptparse.c:155:32: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] u=(unsigned short)getshort(buf,0); ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ --- xlsparse.o --- xlsparse.c:393:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (getshort(rec, 0) == 1) ^~~ ./catdoc.h:235:38: note: passing argument to parameter 'buffer' here unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:496:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (s=*src,d=dest,i=0;i