Updated code to support newer Qt versions (#237)

This commit is contained in:
Vampire Cat 2021-04-04 11:09:23 +02:00 committed by GitHub
parent d1e47539fc
commit 34c8ad8dcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 358 additions and 94 deletions

View file

@ -697,9 +697,9 @@ int CBString::find (const CBString& b, int pos) const {
int CBString::find (const char * b, int pos) const {
int ii, j;
unsigned char c0;
register int i, l;
register unsigned char cx;
register unsigned char * pdata;
int i, l;
unsigned char cx;
unsigned char * pdata;
if (NULL == b) {
#ifdef BSTRLIB_THROWS_EXCEPTIONS