Changeset 5837:96349d1c8634 in roaraudio for roarclients
- Timestamp:
- 01/06/13 23:33:14 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r5823 r5837 340 340 341 341 if ( g_verbose ) { 342 printf("Server time : %s%s%s% llu.%06llu [+%llu/2^64] sec\n",342 printf("Server time : %s%s%s%" LIBROAR__ll "u.%06" LIBROAR__ll "u [+%" LIBROAR__ll "u/2^64] sec\n", 343 343 #ifdef ROAR_HAVE_CTIME_R 344 344 "\"", … … 348 348 "", "", "", 349 349 #endif 350 ( longlong unsigned int)time.t_sec,351 ( longlong unsigned int) time.t_ssec / 18446744073709LLU,352 ( longlong unsigned int) time.t_ssec);350 (LIBROAR__longlong unsigned int)time.t_sec, 351 (LIBROAR__longlong unsigned int) time.t_ssec / 18446744073709LLU, 352 (LIBROAR__longlong unsigned int) time.t_ssec); 353 353 } else { 354 354 if ( time.c_freq == 1000000000LL && time.t_ssec == 0 ) { 355 printf("Server time : %s%s%s% llu sec\n",355 printf("Server time : %s%s%s%" LIBROAR__ll "u sec\n", 356 356 #ifdef ROAR_HAVE_CTIME_R 357 357 "\"", … … 361 361 "", "", "", 362 362 #endif 363 ( longlong unsigned int)time.t_sec);363 (LIBROAR__longlong unsigned int)time.t_sec); 364 364 } else { 365 printf("Server time : %s%s%s% llu.%06llu sec\n",365 printf("Server time : %s%s%s%" LIBROAR__ll "u.%06" LIBROAR__ll"u sec\n", 366 366 #ifdef ROAR_HAVE_CTIME_R 367 367 "\"", … … 371 371 "", "", "", 372 372 #endif 373 ( longlong unsigned int)time.t_sec,374 ( longlong unsigned int) time.t_ssec / 18446744073709LLU);373 (LIBROAR__longlong unsigned int)time.t_sec, 374 (LIBROAR__longlong unsigned int) time.t_ssec / 18446744073709LLU); 375 375 } 376 376 } … … 379 379 if ( time.c_drift ) { 380 380 #ifdef ROAR_HAVE_LIBM 381 printf("Server clock drift : % llu:2^64 (~10^%f)\n",382 ( longlong unsigned int)time.c_drift, logf((float)time.c_drift)/2.302585f);381 printf("Server clock drift : %" LIBROAR__ll "u:2^64 (~10^%f)\n", 382 (LIBROAR__longlong unsigned int)time.c_drift, logf((float)time.c_drift)/2.302585f); 383 383 #else 384 printf("Server clock drift : % llu:2^64\n",385 ( longlong unsigned int)time.c_drift);384 printf("Server clock drift : %" LIBROAR__ll "u:2^64\n", 385 (LIBROAR__longlong unsigned int)time.c_drift); 386 386 #endif 387 387 } … … 1193 1193 1194 1194 for (i = 0; i < ret; i++) { 1195 printf("profile % lli:\n", (longlong signed int)i);1195 printf("profile %" LIBROAR__ll "i:\n", (LIBROAR__longlong signed int)i); 1196 1196 show_aiprofile(list[i]); 1197 1197 }
Note: See TracChangeset
for help on using the changeset viewer.