Updated stdint.h and stdbool.h which are used with compilers that are pre-C99 standard (i.e. borland). This also cleaned up warnings when built with codeblocks using MinGW.

This commit is contained in:
skarg
2007-08-21 23:03:01 +00:00
parent 6dc7399605
commit b37c58e0bf
4 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ int bip_send_pdu(BACNET_ADDRESS * dest, /* destination address */
} else if (dest->mac_len == 6) {
/* valid unicast */
(void) decode_unsigned32(&dest->mac[0],
&(bip_dest.sin_addr.s_addr));
(uint32_t *)&(bip_dest.sin_addr.s_addr));
(void) decode_unsigned16(&dest->mac[4], &(bip_dest.sin_port));
memset(&(bip_dest.sin_zero), '\0', 8);
mtu[1] = BVLC_ORIGINAL_UNICAST_NPDU;