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

Crashes under Windows due to pointer-to-long cast #5

Closed
bertholet opened this issue Mar 29, 2017 · 3 comments
Closed

Crashes under Windows due to pointer-to-long cast #5

bertholet opened this issue Mar 29, 2017 · 3 comments

Comments

@bertholet
Copy link
Contributor

I consistently got system crashes on my system with Matlab 2016b,windows10, visual studio 2013 c++. The problem is that longs have only 4 Byte in VS and casting pointers to long breaks them. Could fix it by replacing long by intptr_t,

@taiya
Copy link
Owner

taiya commented Mar 29, 2017

feel free to create a pull request!

@taiya taiya closed this as completed Mar 31, 2017
@taiya
Copy link
Owner

taiya commented Mar 31, 2017

Thanks for your pull request!

@bertholet
Copy link
Contributor Author

No worries, and thank you for the handy implementation(;

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