Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
8,255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 5.51 KB | None | 0 0
  1. plugins/janus_echotest.c:548:12: warning: format specifies type 'unsigned short' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat]
  2.                                         ssrc, seq_number, timestamp, header->padding, sdes_item);
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. plugins/../debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  5.                         ##__VA_ARGS__); \
  6.                           ^~~~~~~~~~~
  7. plugins/janus_sip.c:1110:34: warning: format string is not a string literal [-Wformat-nonliteral]
  8.         g_vsnprintf(line, sizeof(line), fmt, ap);
  9.                                         ^~~
  10. plugins/janus_audiobridge.c:2947:96: warning: format specifies type 'unsigned short' but the argument has type 'gint' (aka 'int') [-Wformat]
  11.                                                 JANUS_LOG(LOG_ERR, "[Opus] Ops! got an error decoding the Opus frame: %"SCNu16" (%s)\n", lost_pkt->length, opus_strerror(lost_pkt->length));
  12.                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13. plugins/../debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  14.                         ##__VA_ARGS__); \
  15.                           ^~~~~~~~~~~
  16. plugins/janus_audiobridge.c:2978:93: warning: format specifies type 'unsigned short' but the argument has type 'gint' (aka 'int') [-Wformat]
  17.                         JANUS_LOG(LOG_ERR, "[Opus] Ops! got an error decoding the Opus frame: %"SCNu16" (%s)\n", pkt->length, opus_strerror(pkt->length));
  18.                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. plugins/../debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  20.                         ##__VA_ARGS__); \
  21.                           ^~~~~~~~~~~
  22.   CC       janus-dtls.o
  23. 1 warning generated.
  24.   CC       janus-dtls-bio.o
  25. dtls.c:944:133: warning: format specifies type 'unsigned short' but the argument has type 'guint' (aka 'unsigned int') [-Wformat]
  26.         JANUS_LOG(LOG_VERB, "[%"SCNu64"] DTLS alert triggered on stream %"SCNu16" (component %"SCNu16"), closing...\n", handle->handle_id, stream->stream_id, component->component_id);
  27.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28. ./debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  29.                         ##__VA_ARGS__); \
  30.                           ^~~~~~~~~~~
  31. dtls.c:944:152: warning: format specifies type 'unsigned short' but the argument has type 'guint' (aka 'unsigned int') [-Wformat]
  32.         JANUS_LOG(LOG_VERB, "[%"SCNu64"] DTLS alert triggered on stream %"SCNu16" (component %"SCNu16"), closing...\n", handle->handle_id, stream->stream_id, component->component_id);
  33.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
  34. ./debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  35.                         ##__VA_ARGS__); \
  36.                           ^~~~~~~~~~~
  37.   CC       janus-events.o
  38.   CC       janus-ice.o
  39.   CC       janus-janus.o
  40.   CC       janus-log.o
  41. 2 warnings generated.
  42.   CC       janus-record.o
  43.   CC       janus-rtcp.o
  44. rtcp.c:541:15: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  45.         uint64_t d = abs(transit - ctx->transit);
  46.                      ^
  47. rtcp.c:541:15: note: remove the call to 'abs' since unsigned values cannot be negative
  48.         uint64_t d = abs(transit - ctx->transit);
  49.                      ^~~
  50. ice.c:2576:117: warning: format specifies type 'unsigned short' but the argument has type 'guint' (aka 'unsigned int') [-Wformat]
  51.                                         JANUS_LOG(LOG_VERB, "[%"SCNu64"] Got RTCP BYE on stream %"SCNu16" (component %"SCNu16")\n", handle->handle_id, stream->stream_id, component->component_id);
  52.                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  53. ./debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  54.                         ##__VA_ARGS__); \
  55.                           ^~~~~~~~~~~
  56. ice.c:2576:136: warning: format specifies type 'unsigned short' but the argument has type 'guint' (aka 'unsigned int') [-Wformat]
  57.                                         JANUS_LOG(LOG_VERB, "[%"SCNu64"] Got RTCP BYE on stream %"SCNu16" (component %"SCNu16")\n", handle->handle_id, stream->stream_id, component->component_id);
  58.                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
  59. ./debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  60.                         ##__VA_ARGS__); \
  61.                           ^~~~~~~~~~~
  62. rtcp.c:1207:107: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
  63.                         JANUS_LOG(LOG_HUGE, "Adding another block of NACKs (%"SCNu16"-%"SCNu16" > %"SCNu16")...\n", npid, pid, npid-pid);
  64.                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
  65. ./debug.h:108:6: note: expanded from macro 'JANUS_LOG'
  66.                         ##__VA_ARGS__); \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement