Changeset 349 for trunk/utils.c


Ignore:
Timestamp:
2007-02-12T08:48:57+01:00 (7 years ago)
Author:
moo
Message:

build with vc6 by fixing TRAC va_arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r346 r349  
    730730int xc_vtrace(const char *fmt, va_list args) /* {{{ */ 
    731731{ 
    732     vfprintf(stderr, fmt, args); 
    733     return 0; 
     732    return vfprintf(stderr, fmt, args); 
    734733} 
    735734/* }}} */ 
     
    737736{ 
    738737    va_list args; 
     738    int ret; 
    739739 
    740740    va_start(args, fmt); 
    741     xc_vtrace(fmt, args); 
     741    ret = xc_vtrace(fmt, args); 
    742742    va_end(args); 
    743     return 0; 
    744 } 
    745 /* }}} */ 
     743    return ret; 
     744} 
     745/* }}} */ 
Note: See TracChangeset for help on using the changeset viewer.