]> git.meshlink.io Git - meshlink/blobdiff - examples/chatpp.cc
Update android build
[meshlink] / examples / chatpp.cc
index d3690404fc2869b3b8998c849eb5484b193b5382..294ca866f602fb692eb6e37c39b8c817a07fd950 100644 (file)
@@ -99,7 +99,7 @@ static void parse_command(meshlink::mesh *mesh, char *buf) {
                        if(!nodes) {
                                fprintf(stderr, "Could not get list of nodes: %s\n", meshlink::strerror());
                        } else {
-                               printf("%zu known nodes:", nnodes);
+                               printf("%lu known nodes:", (unsigned long)nnodes);
 
                                for(size_t i = 0; i < nnodes; i++) {
                                        printf(" %s", nodes[i]->name);