Skip to content

Make clang happy

Albert Astals Cid requested to merge aacid/libspectre:make_clang_happy into master
ps.c:1875:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter]
   char charP;
        ^
ps.c:197:88: note: previous declaration is here
static char    *readlineuntil PT((FileData, long, char **, long *, unsigned int *, char));
                                                                                       ^
ps.c:2212:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter]
    PS_WORD val;
            ^
ps.c:206:48: note: previous declaration is here
static PS_WORD         reorder_word PT((PS_WORD));
Edited by Albert Astals Cid

Merge request reports