From 3420e7b828894bff502cbf9f70fac5ce262542b2 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sun, 28 Oct 2012 16:04:25 -0700 Subject: [PATCH] Fix param handling of 32-bit BSON nodes --- apps/systemlib/param/param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/systemlib/param/param.c b/apps/systemlib/param/param.c index 44f05047a2..365bd3d199 100644 --- a/apps/systemlib/param/param.c +++ b/apps/systemlib/param/param.c @@ -600,7 +600,7 @@ param_import_callback(bson_decoder_t decoder, void *private, bson_node_t node) */ switch (node->type) { - case BSON_INT: + case BSON_INT32: if (param_type(param) != PARAM_TYPE_INT32) { debug("unexpected type for '%s", node->name); goto out;