Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (11 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/siprtp.c

    r3553 r4537  
    11021102 
    11031103 
    1104 #if defined(PJ_WIN32) && PJ_WIN32 != 0 
     1104#if (defined(PJ_WIN32) && PJ_WIN32 != 0) || (defined(PJ_WIN64) && PJ_WIN64 != 0) 
    11051105#include <windows.h> 
    11061106static void boost_priority(void) 
     
    11961196    /* Check for errors */ 
    11971197    if (size < 0) { 
    1198         app_perror(THIS_FILE, "RTP recv() error", -size); 
     1198        app_perror(THIS_FILE, "RTP recv() error", (pj_status_t)-size); 
    11991199        return; 
    12001200    } 
     
    12021202    /* Decode RTP packet. */ 
    12031203    status = pjmedia_rtp_decode_rtp(&strm->in_sess,  
    1204                                     pkt, size,  
     1204                                    pkt, (int)size,  
    12051205                                    &hdr, &payload, &payload_len); 
    12061206    if (status != PJ_SUCCESS) { 
     
    12351235    /* Check for errors */ 
    12361236    if (size < 0) { 
    1237         app_perror(THIS_FILE, "Error receiving RTCP packet", -size); 
     1237        app_perror(THIS_FILE, "Error receiving RTCP packet",(pj_status_t)-size); 
    12381238        return; 
    12391239    } 
     
    18631863 
    18641864    printf("%s (empty to cancel): ", title); fflush(stdout); 
    1865     if (fgets(buf, len, stdin) == NULL) 
     1865    if (fgets(buf, (int)len, stdin) == NULL) 
    18661866        return PJ_FALSE; 
    18671867 
     
    20252025 
    20262026    if (log_file) { 
    2027         int count = fwrite(buffer, len, 1, log_file); 
     2027        pj_size_t count = fwrite(buffer, len, 1, log_file); 
    20282028        PJ_UNUSED_ARG(count); 
    20292029        fflush(log_file); 
Note: See TracChangeset for help on using the changeset viewer.