From 71deab2eec59cad58bce54e6f7c9afcc51273749 Mon Sep 17 00:00:00 2001 From: leitner Date: Thu, 27 Feb 2003 17:26:39 +0000 Subject: [PATCH] remove warnings --- textcode/fmt_urlencoded_sa.c | 2 +- textcode/fmt_uuencoded_sa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/textcode/fmt_urlencoded_sa.c b/textcode/fmt_urlencoded_sa.c index bcd01b9..1764e75 100644 --- a/textcode/fmt_urlencoded_sa.c +++ b/textcode/fmt_urlencoded_sa.c @@ -17,7 +17,7 @@ int fmt_urlencoded_sa(stralloc *sa,const char* src,unsigned int len) { char dest[3] = {'%'}; dest[1]=tohex(s[i]>>4); dest[2]=tohex(s[i]&15); - if (!stralloc_catb(sa, &dest, 3)) return 0; + if (!stralloc_catb(sa, dest, 3)) return 0; } else { if (!stralloc_catb(sa, s+i, 1)) return 0; } diff --git a/textcode/fmt_uuencoded_sa.c b/textcode/fmt_uuencoded_sa.c index c0be7b6..f02e0f7 100644 --- a/textcode/fmt_uuencoded_sa.c +++ b/textcode/fmt_uuencoded_sa.c @@ -30,7 +30,7 @@ int fmt_uuencoded_sa(stralloc* sa,const char* src,unsigned int len) { dest[2]=enc((tmp>>(1*6))&077); dest[3]=enc(tmp&077); s+=3; - if (!stralloc_catb(sa,&dest,4)) return 0; + if (!stralloc_catb(sa,dest,4)) return 0; } if (!stralloc_catb(sa,"\n",1)) return 0; }