I was getting this warning during a compile
authorSteve Murphy <murf@digium.com>
Mon, 15 Dec 2008 19:42:05 +0000 (19:42 +0000)
committerSteve Murphy <murf@digium.com>
Mon, 15 Dec 2008 19:42:05 +0000 (19:42 +0000)
commit203e224bcb5c1d6b6e525bae8f4d19920aa4ecc0
tree9ef6887675768ab87f876a2f2006024e811930e8
parentae30bbf43dc391f38278c96ecb9f76f5662560d8
I was getting this warning during a compile
on a 64-bit machine running ubuntu server 8.10,
and gcc-4.3.2:

   [CXXi] chan_vpb.ii -> chan_vpb.oo
cc1plus: warnings being treated as errors
In file included from /home/murf/asterisk/trunk/include/asterisk/utils.h:671,
                 from chan_vpb.cc:46:
/home/murf/asterisk/trunk/include/asterisk/strings.h: In function ‘char* ast_str_truncate(ast_str*, ssize_t)’:
/home/murf/asterisk/trunk/include/asterisk/strings.h:479: error: comparison between signed and unsigned integer expressions
make[1]: *** [chan_vpb.oo] Error 1
make: *** [channels] Error 2

which this fix silences

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/strings.h