[ci] Try to fix failing appveyor python builds

This commit is contained in:
Olly Betts 2022-03-20 18:42:50 +13:00
commit 029ddab8b5
20 changed files with 40 additions and 39 deletions

View file

@ -1196,7 +1196,7 @@ String *SwigType_prefix(const SwigType *t) {
if (*d == '>') {
int nest = 1;
d--;
while ((d > c) && (nest)) {
while ((d > c) && nest) {
if (*d == '>')
nest++;
if (*d == '<')
@ -1208,7 +1208,7 @@ String *SwigType_prefix(const SwigType *t) {
/* Skip over params */
int nparen = 1;
d--;
while ((d > c) && (nparen)) {
while ((d > c) && nparen) {
if (*d == ')')
nparen++;
if (*d == '(')