summaryrefslogtreecommitdiff
path: root/examples/simple_talker
diff options
context:
space:
mode:
authorJean-Baptiste Maillet <jean-baptiste.maillet@parrot.com>2014-11-19 14:52:55 +0100
committerJean-Baptiste Maillet <jean-baptiste.maillet@parrot.com>2014-11-19 14:52:55 +0100
commit1b1c65d1875edbedf0dfbb2db9cd0a0553bbccd5 (patch)
tree13bbbc3a2a89dab49de4575b844131c2f1e6da77 /examples/simple_talker
parent47b477292450b6ace6094b27f8067c9a17c57643 (diff)
downloadOpen-AVB-1b1c65d1875edbedf0dfbb2db9cd0a0553bbccd5.tar.gz
simple_talker: minor, warning removal
Diffstat (limited to 'examples/simple_talker')
-rwxr-xr-xexamples/simple_talker/simple_talker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple_talker/simple_talker.c b/examples/simple_talker/simple_talker.c
index a590fca5..ad3925e4 100755
--- a/examples/simple_talker/simple_talker.c
+++ b/examples/simple_talker/simple_talker.c
@@ -323,9 +323,9 @@ int gptpscaling(gPtpTimeData * td)
memcpy(td, memory_offset_buffer + sizeof(pthread_mutex_t), sizeof(*td));
pthread_mutex_unlock((pthread_mutex_t *) memory_offset_buffer);
- fprintf( stderr, "local_time = %lu\n",
+ fprintf( stderr, "local_time = %llu\n",
td->local_time );
- fprintf(stderr, "ml_phoffset = %ld, ls_phoffset = %ld\n",
+ fprintf(stderr, "ml_phoffset = %lld, ls_phoffset = %lld\n",
td->ml_phoffset, td->ls_phoffset);
fprintf(stderr, "ml_freqffset = %Lf, ls_freqoffset = %Lf\n",
td->ml_freqoffset, td->ls_freqoffset);