Merge pull request #5 in FS/freeswitch from ~KATHLEEN.KING/freeswitch-fork:clang-warnings-werror to master

* commit '1affff9db4aaa29ab66f9f5db76f575eeabd86b5':
  Fixed a clang-3.5 missing-prototype warning and added doxygen documentation for switch_channel_set_presence_data_vals. #doxygen
  Fixed dead code.
  Fixed trucation of value warning.
  Removed a useless called to abs.
  Removed an autological-pointer-compare from src/switch_utils.c.
  Fixed trucation of value warning.
This commit is contained in:
Mike Jerris
2014-07-14 17:38:21 -05:00
6 changed files with 31 additions and 30 deletions
+1 -1
View File
@@ -622,7 +622,7 @@ static switch_status_t channel_receive_message(switch_core_session_t *session, s
maxlen = atol(p);
if ((q = strchr(p, ':'))) {
q++;
max_drift = abs(atol(q));
max_drift = abs(atoi(q));
}
}
}