diff options
Diffstat (limited to 'main/callerid.c')
-rw-r--r-- | main/callerid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/callerid.c b/main/callerid.c index 3af60bd3d..d9f74180a 100644 --- a/main/callerid.c +++ b/main/callerid.c @@ -314,7 +314,7 @@ int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int len, s int x; short *buf; - buf = alloca(2 * len + cid->oldlen); + buf = ast_alloca(2 * len + cid->oldlen); memcpy(buf, cid->oldstuff, cid->oldlen); mylen += cid->oldlen / 2; @@ -552,7 +552,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, stru int x; short *buf; - buf = alloca(2 * len + cid->oldlen); + buf = ast_alloca(2 * len + cid->oldlen); memcpy(buf, cid->oldstuff, cid->oldlen); mylen += cid->oldlen/2; |