Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

fix bug on ARM - #308

Open
lubingxian wants to merge 1 commit into
dhalperi:masterfrom
lubingxian:master
Open

fix bug on ARM#308
lubingxian wants to merge 1 commit into
dhalperi:masterfrom
lubingxian:master

Conversation

@lubingxian

Copy link
Copy Markdown

char -> signed char
ARM processor's "char" is unsigned by default, while here should be "signed char".

char -> signed char
ARM processor's "char" is unsigned by default, while here should be
"signed char".
@lubingxian

lubingxian commented Apr 4, 2017

Copy link
Copy Markdown
Author

Hi,

I use the octave code on the Raspberry pi 3, and meet some errors.

Then I found that on ARM-based machines "char" is of the "unsigned" variety, which allows the compiler to generate faster.

Thus I changed the "char" to "signed char", and it works well now.

@lubingxian

Copy link
Copy Markdown
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant