Silenced type conversion warning

This commit is contained in:
petermcs
2015-02-16 10:45:39 +00:00
parent 1814ae1d89
commit ce68dc5147
+1 -1
View File
@@ -292,7 +292,7 @@ void dlenv_init(
}
pEnv = getenv("BACNET_APDU_RETRIES");
if (pEnv) {
apdu_retries_set((uint16_t) strtol(pEnv, NULL, 0));
apdu_retries_set((uint8_t) strtol(pEnv, NULL, 0));
}
if (!datalink_init(getenv("BACNET_IFACE"))) {
exit(1);