Ignore:
Timestamp:
2006-05-10T12:47:55Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
764b0aba
Parents:
64d1f45
Message:

Fix compilation with tcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar_util.c

    r64d1f45 r5d6c178  
    109109
    110110        curPtr = sn;
    111         while ( (*curPtr) != (char) NULL) {
     111        while ( (*curPtr) != (char) '\0') {
    112112                if ((*curPtr) != ' ')
    113113                i++;
     
    140140        curPtr1 = sn1;
    141141        curPtr2 = sn2;
    142         while ( (*curPtr1 != (char) NULL) && (*curPtr2 != (char) NULL) ) {
     142        while ( (*curPtr1 != (char) '\0') && (*curPtr2 != (char) '\0') ) {
    143143                if ( (*curPtr1 == ' ') || (*curPtr2 == ' ') ) {
    144144                        if (*curPtr1 == ' ')
Note: See TracChangeset for help on using the changeset viewer.