-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Casting to wrong type #183
Comments
Nice catch! You say "at least here", I cannot seem to find any other cases of |
Well, I haven't found this issue anywhere else as well, just wanted to say that where are could be more places for you to check :) |
OK, I see. Well then I didn't miss anything. Re: |
The return type of
recv
call isssize_t
, at least on linux, somewhere else it could be justint
. And-1
return value indicates about error. But at least here:smcroute/src/ipc.c
Line 176 in 0828918
it casts to
size_t
which converts-1
to non error value.The text was updated successfully, but these errors were encountered: