Changeset db7752d7f39300e6bbc5db47364833d30558de11

Show
Ignore:
Timestamp:
11/21/11 03:26:33 (2 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1321845993 -0500
git-parent:

[d9e10d1257e3da056b7ce498ec77f07aad115a8f]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1321845993 -0500
Message:

fix type warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/lua_noit.c

    r501e231 rdb7752d  
    17911791        case json_overflow_int64: 
    17921792          i64 = json_object_get_int64(o); 
    1793           snprintf(istr, sizeof(istr), "%lld", i64); 
     1793          snprintf(istr, sizeof(istr), "%lld", (long long int)i64); 
    17941794          lua_pushstring(L, istr); 
    17951795          break; 
    17961796        case json_overflow_uint64: 
    17971797          u64 = json_object_get_uint64(o); 
    1798           snprintf(istr, sizeof(istr), "%llu", u64); 
     1798          snprintf(istr, sizeof(istr), "%llu", (long long unsigned int)u64); 
    17991799          lua_pushstring(L, istr); 
    18001800          break; 
  • src/stratcon_jlog_streamer.c

    r407a5b9 rdb7752d  
    11811181           (long unsigned int)now->tv_sec, 
    11821182           (long unsigned int)now->tv_usec/1000UL, 
    1183            uuid_str, uptime); 
     1183           uuid_str, (long long unsigned int)uptime); 
    11841184  PUSH_BOTH(DS_OP_INSERT, strdup(str)); 
    11851185