FS-8389: [build] Fix msvc 2015 build warnings

This commit is contained in:
Mike Jerris
2015-10-26 13:45:48 -04:00
parent 37263d47d5
commit 6b5b1a3d86
6 changed files with 26 additions and 19 deletions
+2 -2
View File
@@ -859,7 +859,7 @@ static inline switch_bool_t switch_strstr(char *s, char *q)
S = strdup(s);
assert(S != NULL);
switch_assert(S != NULL);
for (p = S; p && *p; p++) {
*p = (char) switch_toupper(*p);
@@ -871,7 +871,7 @@ static inline switch_bool_t switch_strstr(char *s, char *q)
}
Q = strdup(q);
assert(Q != NULL);
switch_assert(Q != NULL);
for (p = Q; p && *p; p++) {
*p = (char) switch_toupper(*p);