Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error pointer targets in assignment differ in signedness #60

Closed
tinamore opened this issue May 28, 2015 · 3 comments
Closed

Error pointer targets in assignment differ in signedness #60

tinamore opened this issue May 28, 2015 · 3 comments

Comments

@tinamore
Copy link

Hi, I run esp_mqtt and show error in elipse:

mqtt/utils.c: In function 'UTILS_StrToIP':
mqtt/utils.c:100:12: error: pointer targets in assignment differ in signedness [-Werror=pointer-sign]
start = str;
^
cc1.exe: all warnings being treated as errors
C:/Espressif/examples/esphttpd/Makefile:442: recipe for target 'build/mqtt/utils.o' failed

mingw32-make.exe: *** [build/mqtt/utils.o] Error 1

Help me fix this error, thanks verymuch

@tuanpmt
Copy link
Owner

tuanpmt commented May 28, 2015

may you modify const char * start to const int8_t * start will work

@tinamore
Copy link
Author

yeah, working now, thanks.
I really admire you.
I'm in Ho Chi Minh City, Can I invite you coffee :D?

@tuanpmt
Copy link
Owner

tuanpmt commented May 30, 2015

Wellcome @tinamore , i'm in District 9, when you ready, please email to me.

@tuanpmt tuanpmt closed this as completed May 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants