From b59def4ff99e423ce8bf29f5f6e5f3d742869b65 Mon Sep 17 00:00:00 2001 From: skarg Date: Sun, 15 May 2005 21:11:28 +0000 Subject: [PATCH] minor consistency update --- bacnet-stack/bacdcode.c | 2 +- bacnet-stack/bacdcode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/bacdcode.c b/bacnet-stack/bacdcode.c index 272d7e02..298cdebb 100644 --- a/bacnet-stack/bacdcode.c +++ b/bacnet-stack/bacdcode.c @@ -1000,7 +1000,7 @@ int encode_tagged_unsigned(uint8_t * apdu, unsigned int value) // and 20.2.1 General Rules for Encoding BACnet Tags // returns the number of apdu bytes consumed // FIXME: What about endian? -int decode_unsigned(uint8_t * apdu, uint32_t len_value, unsigned *value) +int decode_unsigned(uint8_t * apdu, uint32_t len_value, unsigned int *value) { int len = 0; // return value diff --git a/bacnet-stack/bacdcode.h b/bacnet-stack/bacdcode.h index f1c6e9dc..0e6ff715 100644 --- a/bacnet-stack/bacdcode.h +++ b/bacnet-stack/bacdcode.h @@ -139,7 +139,7 @@ int decode_character_string(uint8_t * apdu, uint32_t len_value, int encode_bacnet_unsigned(uint8_t * apdu, unsigned int value); int encode_context_unsigned(uint8_t * apdu, int tag_number, int value); int encode_tagged_unsigned(uint8_t * apdu, unsigned int value); -int decode_unsigned(uint8_t * apdu, uint32_t len_value, unsigned *value); +int decode_unsigned(uint8_t * apdu, uint32_t len_value, unsigned int *value); // from clause 20.2.5 Encoding of a Signed Integer Value // and 20.2.1 General Rules for Encoding BACnet Tags