Ignore:
Timestamp:
Nov 4, 2009, 3:41:59 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #2554: JSON_int_t won't use "long long int" unless STDC_VERSION is defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/JSON_parser.c

    r9307 r9480  
    501501                case JSON_T_INTEGER:
    502502                    arg = &value;
    503                     sscanf(jc->parse_buffer, JSON_PARSER_INTEGER_SSCANF_TOKEN, &value.vu.integer_value);
     503                    value.vu.integer_value = evutil_strtoll( jc->parse_buffer, NULL, 10 );
    504504                    break;
    505505                case JSON_T_STRING:
Note: See TracChangeset for help on using the changeset viewer.