Ignore:
Timestamp:
Sep 26, 2019 11:15:24 AM (4 years ago)
Author:
nanang
Message:

Misc (re #2210): Fixed compile errors on MinGW.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ip_helper_generic.c

    r6045 r6079  
    537537        unsigned deprecatedCount = *p_cnt; 
    538538        unsigned cnt = 0; 
     539        int i; 
    539540        pj_status_t status; 
    540541 
     
    547548            return status; 
    548549 
    549         for (int i = 0; i < *p_cnt; ++i) { 
     550        for (i = 0; i < *p_cnt; ++i) { 
     551            int j; 
     552             
    550553            ifs[cnt++] = addrs[i]; 
    551554 
     
    553556                continue; 
    554557 
    555             for (int j = 0; j < deprecatedCount; ++j) { 
     558            for (j = 0; j < deprecatedCount; ++j) { 
    556559                if (pj_sockaddr_cmp(&addrs[i], &deprecatedAddrs[j]) == 0) { 
    557560                    cnt--; 
Note: See TracChangeset for help on using the changeset viewer.