From af07210a5fba210573a84f88164886edec9d72c4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 12 Jun 2005 03:59:33 +0000 Subject: Clean up after the raw_hook architecture change. --- libgpsmm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgpsmm.cpp') diff --git a/libgpsmm.cpp b/libgpsmm.cpp index eac58a60..80a537de 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 len, int level)) { +int gpsmm::set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, size_t len, int level)) { handler = new pthread_t; return gps_set_callback(gps_data,hook,handler); } -- cgit v1.2.1