You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
however in your regexp.cpp I can see in (int) indexIn( const QChar* charPtr, int offset, int length, bool reverse ) some (old C-style) casting being done on pointers to QChar to convert them into OnigUChar ones so they can have pointer arithmetic being carried out on them - and QChars {at least 16 bits} are not the same size as unsigned chars {8 bits} - which looks very suspect! 😨
The text was updated successfully, but these errors were encountered:
In
onigmo.h
I see the following:however in your
regexp.cpp
I can see in(int) indexIn( const QChar* charPtr, int offset, int length, bool reverse )
some (old C-style) casting being done on pointers toQChar
to convert them intoOnigUChar
ones so they can have pointer arithmetic being carried out on them - andQChar
s {at least 16 bits} are not the same size asunsigned chars
{8 bits} - which looks very suspect! 😨The text was updated successfully, but these errors were encountered: