Changeset 5837:96349d1c8634 in roaraudio for roard


Ignore:
Timestamp:
01/06/13 23:33:14 (7 years ago)
Author:
phi
Branch:
default
Message:

Avoid %llX on win32 (Closes: #271)

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/emul_rsound.c

    r5823 r5837  
    284284  ptr /= 8; // bits -> bytes 
    285285 
    286   i = snprintf(msg.data+msg.datalen, EMUL_RSOUND_MSG_DATA_LEN - msg.datalen, " %lld", (long long int)ptr); 
     286  i = snprintf(msg.data+msg.datalen, EMUL_RSOUND_MSG_DATA_LEN - msg.datalen, " %" LIBROAR__ll "d", (LIBROAR__longlong int)ptr); 
    287287 
    288288  msg.datalen += i; 
  • roard/roard.c

    r5823 r5837  
    341341 
    342342#define _pmsg(format, args...) roar_debug_msg(type, __LINE__, __FILE__, ROAR_DBG_PREFIX, format, ## args) 
    343 #define _pmsgc(group, counter, name) _pmsg("  Counter %-10s: %llu", (name), (long long unsigned int)(counters->group.counter)) 
     343#define _pmsgc(group, counter, name) _pmsg("  Counter %-10s: %" LIBROAR__ll "u", (name), (LIBROAR__longlong unsigned int)(counters->group.counter)) 
    344344void counters_print(int type, int force) { 
    345345 struct counters * counters = counters_getptr(); 
Note: See TracChangeset for help on using the changeset viewer.