FS-7500: forgot one

This commit is contained in:
Anthony Minessale 2015-02-05 23:54:41 -05:00 committed by Michael Jerris
parent 1bb8c0a8fc
commit f7fb5fbff3
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,7 @@ static inline uint32_t switch_parse_bandwidth_string(const char *bwv)
if (!bwv) return 0;
if (bwv && (bw = (uint32_t) atol(bwv))) {
if (bwv && (bw = (int32_t) atol(bwv))) {
if (bw < 0) return 0;
if (switch_stristr("KB", bwv)) {