Ignore:
Timestamp:
Dec 18, 2008 5:52:57 PM (16 years ago)
Author:
nanang
Message:

Cleaned up compile warnings (on gcc 4.0.1).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjturn-srv/main.c

    r2177 r2386  
    5050 
    5151    printf("Worker threads : %d\n", srv->core.thread_cnt); 
    52     printf("Total mem usage: %d.%03dMB\n", g_cp.used_size / 1000000,  
    53            (g_cp.used_size % 1000000)/1000); 
     52    printf("Total mem usage: %u.%03uMB\n", (unsigned)(g_cp.used_size / 1000000),  
     53           (unsigned)((g_cp.used_size % 1000000)/1000)); 
    5454    printf("UDP port range : %u %u %u (next/min/max)\n", srv->ports.next_udp, 
    5555           srv->ports.min_udp, srv->ports.max_udp); 
Note: See TracChangeset for help on using the changeset viewer.