testing/qstardict: fix build, reenable on loongarch64
Fix invalid conversion error with clang and reenable on loongarch64.
In file included from /usr/include/glib-2.0/glib/gstring.h:35:
lib.cpp: In member function 'bool Libs::LookupSimilarWord(const gchar*, glong&, int)':
/usr/include/glib-2.0/glib/gunicode.h:809:34: error: invalid conversion
from 'const gchar*' {aka 'const char*'} to 'gchar*' {aka 'char*'
} [-fpermissive]
809 | #define g_utf8_next_char(p) ((p) + g_utf8_skip[*(const guchar *)(p)])
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar* {aka const char*}
lib.cpp:1254:31: note: in expansion of macro 'g_utf8_next_char'
1254 | gchar *nextchar = g_utf8_next_char(sWord);
| ^~~~~~~~~~~~~~~~
Edited by mio