projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
100be89
)
netclientclock: The NTP poll interval is a signed int8, not unsigned
author
Sebastian Dröge
<sebastian@centricular.com>
Sun, 7 Jun 2015 08:52:33 +0000
(10:52 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sun, 7 Jun 2015 08:52:33 +0000
(10:52 +0200)
libs/gst/net/gstntppacket.c
patch
|
blob
|
history
diff --git
a/libs/gst/net/gstntppacket.c
b/libs/gst/net/gstntppacket.c
index
cd3c277
..
699f72b
100644
(file)
--- a/
libs/gst/net/gstntppacket.c
+++ b/
libs/gst/net/gstntppacket.c
@@
-101,7
+101,7
@@
gst_ntp_packet_new (const guint8 * buffer, GError ** error)
if (buffer) {
guint8 version = (buffer[0] >> 3) & 0x7;
guint8 stratum = buffer[1];
- g
u
int8 poll_interval = buffer[2];
+ gint8 poll_interval = buffer[2];
if (version != 4) {
g_set_error (error, GST_NTP_ERROR, GST_NTP_ERROR_WRONG_VERSION,