Changeset 1204


Ignore:
Timestamp:
Apr 18, 2007 3:43:09 PM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #233: Parse failure on big endian machines (thanks Vladimir Hozjan)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/scanner.c

    r1145 r1204  
    343343                                pj_str_t *out) 
    344344{ 
    345     pj_scan_get_quotes(scanner, (char*)&begin_quote, (char*)&end_quote, 1, out); 
     345    char beg = (char)begin_quote; 
     346    char end = (char)end_quote; 
     347    pj_scan_get_quotes(scanner, &beg, &end, 1, out); 
    346348} 
    347349 
Note: See TracChangeset for help on using the changeset viewer.