summaryrefslogtreecommitdiffstats
path: root/test/enum.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-29 16:09:55 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-29 16:09:55 +0100
commita7ae3fbb14fcb9581036beefb7bb0069c6f14298 (patch)
treeb459d2db85b1b4c27b356298abe9aeffef30bd9b /test/enum.c
parentde69599bf89708c8f7044fd3a84155551d0391e8 (diff)
downloadlibuca-a7ae3fbb14fcb9581036beefb7bb0069c6f14298.tar.gz
libuca-a7ae3fbb14fcb9581036beefb7bb0069c6f14298.tar.bz2
libuca-a7ae3fbb14fcb9581036beefb7bb0069c6f14298.tar.xz
libuca-a7ae3fbb14fcb9581036beefb7bb0069c6f14298.zip
Use libpco 0.3 API
Diffstat (limited to 'test/enum.c')
-rw-r--r--test/enum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/enum.c b/test/enum.c
index 17b595f..75ca596 100644
--- a/test/enum.c
+++ b/test/enum.c
@@ -65,14 +65,14 @@ int main(int argc, char *argv[])
break;
case uca_uint32t:
if (uca_cam_get_property(cam, i, &uint32_value, 0) == UCA_NO_ERROR) {
- printf("%i %s", uint32_value, uca_unit_map[prop->unit]);
+ printf("%u %s", uint32_value, uca_unit_map[prop->unit]);
}
else
printf("n/a");
break;
case uca_uint8t:
if (uca_cam_get_property(cam, i, &uint8_value, 0) == UCA_NO_ERROR) {
- printf("%i %s", uint8_value, uca_unit_map[prop->unit]);
+ printf("%u %s", uint8_value, uca_unit_map[prop->unit]);
}
else
printf("n/a");