summaryrefslogtreecommitdiff
path: root/libgpsmm.cpp
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-12 03:59:33 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-12 03:59:33 +0000
commitaf07210a5fba210573a84f88164886edec9d72c4 (patch)
tree48edfdfd82d2513a41802df2bd596537cefd632b /libgpsmm.cpp
parent21be3a62c11cb671eddfba98f599f451e7f152de (diff)
downloadgpsd-af07210a5fba210573a84f88164886edec9d72c4.tar.gz
Clean up after the raw_hook architecture change.
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r--libgpsmm.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}