naxingyu / opensmile

A github repo of the openSMILE feature extraction tool.
http://www.audeering.com/research/opensmile
Other
214 stars 79 forks source link

change char to unsigned char for successfull compilation! #21

Open SinaKarimi7 opened 5 years ago

SinaKarimi7 commented 5 years ago

Error: narrowing conversion of ‘'\37777777756'’ from ‘char’ to ‘unsigned char’ inside { } [-Wnarrowing] unsigned char smileMagic[] = {(char)0xEE, (char)0x11, (char)0x11, (char)0x00};

naxingyu commented 5 years ago

Which compilation script did you use?

00001101-xt commented 4 years ago

Which compilation script did you use?

sh buildStandalone.sh

in src/include/core/vectorTransform.hpp: const unsigned char smileMagic[] = {(unsigned char)0xEE, (unsigned char)0x11, (unsigned char)0x11, (unsigned char)0x00};