Changeset 308

Show
Ignore:
Timestamp:
05/10/07 00:29:53 (1 year ago)
Author:
bart
Message:

Casting of var 'len' to (int) in decode_version() to get rid of an VC++ 6 warning (Thanks to Daan <daan at parse.nl>)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r306 r308  
    22 
    33        * Use php_strtok_r instead of strtok_r (Thanks to Daan <daan at parse.nl>) 
     4        * Add fnmatch.c and fnmatch.h and use it on win32 (Thanks to Daan <daan at parse.nl>) 
     5        * Casting of var 'len' to (int) in decode_version() to get rid of an VC++ 6 warning (Thanks to Daan <daan at parse.nl>) 
    46 
    572007-04-21  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
  • eaccelerator/trunk/eaccelerator.c

    r307 r308  
    392392                break; 
    393393            case 15: 
    394                 if (len >= number + 5) { 
     394                if ((int)len >= number + 5) { 
    395395                    str[number] = '-'; 
    396396                    str[number + 1] = (extra >> 21) & 0x7f; 
     
    14741474        list_head = NULL; 
    14751475        p = NULL; 
    1476         while ((token = phpstrtok_r(filter, " ", &saveptr)) != NULL) { 
     1476        while ((token = php_strtok_r(filter, " ", &saveptr)) != NULL) { 
    14771477                filter = NULL; 
    14781478                list_head = malloc(sizeof(struct ea_pattern_t));