diff options
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r-- | libgpsmm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.cpp b/libgpsmm.cpp index b63a12b6..eac58a60 100644 --- a/libgpsmm.cpp +++ b/libgpsmm.cpp @@ -38,7 +38,7 @@ struct gps_data_t* gpsmm::poll(void) { } } -int gpsmm::set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, int level)) { +int gpsmm::set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, int len, int level)) { handler = new pthread_t; return gps_set_callback(gps_data,hook,handler); } |