We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
malloc (and realloc) return void pointers and do not require casts.
malloc
realloc
PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 61 in 1830cfb
Line 68 in 1830cfb
Line 81 in 1830cfb
Line 84 in 1830cfb
Line 97 in 1830cfb
Line 163 in 1830cfb
The text was updated successfully, but these errors were encountered:
Are they unnecessary? I think I was getting type errors (not sure) and that was why I added these.
Sorry, something went wrong.
Yes, they should be unnecessary.
Ok, I will remove them and see what happens.
No branches or pull requests
malloc
(andrealloc
) return void pointers and do not require casts.PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 61 in 1830cfb
PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 68 in 1830cfb
PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 81 in 1830cfb
PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 84 in 1830cfb
PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 97 in 1830cfb
PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 163 in 1830cfb
The text was updated successfully, but these errors were encountered: