summaryrefslogtreecommitdiffstats
path: root/pcilib/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/value.c')
-rw-r--r--pcilib/value.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcilib/value.c b/pcilib/value.c
index 42e7993..4264759 100644
--- a/pcilib/value.c
+++ b/pcilib/value.c
@@ -267,5 +267,6 @@ int pcilib_convert_value_type(pcilib_t *ctx, pcilib_value_t *val, pcilib_value_t
return PCILIB_ERROR_NOTSUPPORTED;
}
+ val->type = type;
return 0;
}