1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00

sys/shell: remove superfluous explicit cast

This commit is contained in:
Benjamin Valentin 2019-07-28 16:19:04 +02:00 committed by Benjamin Valentin
parent 2a0a36945c
commit 9279733ed2

View File

@ -225,14 +225,14 @@ int _sht_config_handler(int argc, char **argv)
missing_argument(i - 1, argv);
return -1;
}
temp_off = (int16_t)atoi(argv[i]);
temp_off = atoi(argv[i]);
break;
case 'h':
if (++i >= argc) {
missing_argument(i - 1, argv);
return -1;
}
hum_off = (int16_t)atoi(argv[i]);
hum_off = atoi(argv[i]);
break;
case 'r':
if (++i >= argc) {