fix compiler warning that actually causes the build to fail since we treat

warnings as errors in libpri


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@276 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Russell Bryant 2005-12-02 03:59:41 +00:00
parent 8738891752
commit bb1f882f8a

2
q931.c
View File

@ -1406,7 +1406,7 @@ static FUNC_SEND(transmit_keypad_facility)
} }
if (sublen) { if (sublen) {
libpri_copy_string(ie->data, (char *) call->keypad_digits, sizeof(call->keypad_digits)); libpri_copy_string((char *)ie->data, (char *)call->keypad_digits, sizeof(call->keypad_digits));
/* Make sure we clear the field */ /* Make sure we clear the field */
call->keypad_digits[0] = '\0'; call->keypad_digits[0] = '\0';
return sublen + 2; return sublen + 2;