aliyun / iotkit-embedded

高速镜像: https://code.aliyun.com/linkkit/c-sdk
Apache License 2.0
496 stars 252 forks source link

Explicitly convert size_t (u_int) to u_long to avoid compiler warnings. #104

Closed dbotan closed 5 years ago

dbotan commented 5 years ago

On gcc v6.3.0, build fails with a warning (treated as error) due to variable 'index' of type size_t (unsigned int) being implicitly converted to unsigned long. This commit fixes the problem.

CLAassistant commented 5 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 3 committers have signed the CLA.

:white_check_mark: dbotan
:x: Jia , Ning
:x: shinyshy


Jia , Ning seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.