Changeset 5837:96349d1c8634 in roaraudio for libroar


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

Avoid %llX on win32 (Closes: #271)

Location:
libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroar/hash.c

    r5823 r5837  
    298298      break; 
    299299    } 
    300     snprintf(out, outlen-1, "%lli", tmp.llsi); 
     300    snprintf(out, outlen-1, "%" LIBROAR__ll "i", (LIBROAR__longlong int)tmp.llsi); 
    301301   break; 
    302302  default: 
  • libroar/libroar.c

    r5823 r5837  
    123123 return 0; 
    124124#else 
    125  ROAR_ERR("roar_usleep(t=%llu): can not sleep: not implemented", (long long unsigned int)t); 
     125 ROAR_ERR("roar_usleep(t=%" LIBROAR__ll "u): can not sleep: not implemented", (LIBROAR__longlong unsigned int)t); 
    126126 roar_strap(ROAR_TRAP_GROUP_LIBROAR, "usleep.not-implemented"); 
    127127 roar_err_set(ROAR_ERROR_NOSYS); 
Note: See TracChangeset for help on using the changeset viewer.