Fixed up most warnings after bacdcode changes to unsigned and signed decoding.

Fixed up the Visual C++ demo in ports/win32/bacnet/
This commit is contained in:
skarg
2006-01-16 15:00:22 +00:00
parent 2adca3320d
commit cabdeab081
25 changed files with 138 additions and 125 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ int iam_decode_service_request(
uint32_t object_instance = 0;
uint8_t tag_number = 0;
uint32_t len_value = 0;
unsigned int decoded_value = 0;
uint32_t decoded_value = 0;
int decoded_integer = 0;
// OBJECT ID - object id
@@ -134,7 +134,7 @@ int iam_decode_service_request(
if (decoded_value > 0xFFFF)
return -1;
if (pVendor_id)
*pVendor_id = decoded_value;
*pVendor_id = (uint16_t)decoded_value;
return apdu_len;
}