Change the callback function to use void**.
[apps/agl-service-can-low-level.git] / example / client.c
index edc8394..e6e9a2e 100644 (file)
@@ -23,7 +23,7 @@
 #include "fileproto.pb.h"
 #include "common.h"
 
-bool printfile_callback(pb_istream_t *stream, const pb_field_t *field, void *arg)
+bool printfile_callback(pb_istream_t *stream, const pb_field_t *field, void **arg)
 {
     FileInfo fileinfo;