diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-03-16 15:47:37 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-03-16 15:47:37 +0100 |
commit | 2f5957984835ffc7d4f03bb0094a93c575e3eb17 (patch) | |
tree | ad686e9afdb661f0f456c422618c0d28a576ea63 /plugins/samples/HelloWorld.c | |
parent | 2a94a1d9c8b6c9bd4a83b870dee1d3072120cb77 (diff) |
Add warning detection and improve
Change-Id: Id4fc86b86d55aac578d84b4d2357c1a2e600c58b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'plugins/samples/HelloWorld.c')
-rw-r--r-- | plugins/samples/HelloWorld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/samples/HelloWorld.c b/plugins/samples/HelloWorld.c index d9106920..05bec957 100644 --- a/plugins/samples/HelloWorld.c +++ b/plugins/samples/HelloWorld.c @@ -20,7 +20,7 @@ #include "local-def.h" STATIC json_object* pingSample (AFB_request *request) { - static pingcount = 0; + static int pingcount = 0; json_object *response; char query [512]; int len; |