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

doubt of condition judgement in "param.cpp" #42

Open
gaoshoufenmu opened this issue Mar 22, 2018 · 0 comments
Open

doubt of condition judgement in "param.cpp" #42

gaoshoufenmu opened this issue Mar 22, 2018 · 0 comments

Comments

@gaoshoufenmu
Copy link

I encounter a question when reading the source code in "param.cpp" at line 205: "if (size == sizeof(ptr)) break;". I think this condition is used to check if the index size is out of range of array ptr, and it should be "if (size == sizeof(ptr)/sizeof(char *)) break;".
I'm not sure if my idea is right. ..

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

1 participant