mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
pkg/libfixmath: use unsigned char for isdigit, isspace
Fixes riot/tests/libfixmath/bin/.../libfixmath-src/fix16_str.c:93:9: error: array subscript has type ‘char’ [-Werror=char-subscripts]
This commit is contained in:
parent
e3b41a327e
commit
b7905427a6
@ -28,7 +28,8 @@ $(BINDIR)$(PKG_NAME)-src/Makefile: $(CHECKOUT_FOLDER)/svn_info.xml
|
||||
$(AD)cp $(CHECKOUT_FOLDER)/libfixmath/*.[ch] $(@D)
|
||||
$(AD)rm -f $(BINDIR)$(PKG_NAME)-src/fix16.h
|
||||
|
||||
cd $(@D) && sed -i -e "s/1 <</(uint32_t) 1 <</g" uint32.c
|
||||
cd $(@D) && sed -i -e 's/1 <</(uint32_t) 1 <</g' uint32.c
|
||||
cd $(@D) && sed -i -e 's/is\([a-z]*\)(\*buf)/is\1((unsigned char) *buf)/g' fix16_str.c
|
||||
|
||||
$(BINDIR)$(PKG_NAME)-unittests-src/Makefile:
|
||||
@rm -rf $(@D)
|
||||
|
Loading…
Reference in New Issue
Block a user