Fix param handling of 32-bit BSON nodes

This commit is contained in:
px4dev
2012-10-28 16:04:25 -07:00
parent 4c18aced36
commit 3420e7b828
+1 -1
View File
@@ -600,7 +600,7 @@ param_import_callback(bson_decoder_t decoder, void *private, bson_node_t node)
*/ */
switch (node->type) { switch (node->type) {
case BSON_INT: case BSON_INT32:
if (param_type(param) != PARAM_TYPE_INT32) { if (param_type(param) != PARAM_TYPE_INT32) {
debug("unexpected type for '%s", node->name); debug("unexpected type for '%s", node->name);
goto out; goto out;