summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libecbor/ecbor_encoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libecbor/ecbor_encoder.c b/src/libecbor/ecbor_encoder.c
index eca207a..c0d8f9a 100644
--- a/src/libecbor/ecbor_encoder.c
+++ b/src/libecbor/ecbor_encoder.c
@@ -395,11 +395,11 @@ ecbor_int (int64_t value)
}
ecbor_item_t
-ecbor_uint (int64_t value)
+ecbor_uint (uint64_t value)
{
ecbor_item_t r = null_item;
r.type = ECBOR_TYPE_UINT;
- r.value.uinteger = (uint64_t) value;
+ r.value.uinteger = value;
return r;
}