From: Michael Schroeder Date: Wed, 19 Mar 2008 18:40:30 +0000 (+0000) Subject: - shut up g++ X-Git-Tag: BASE-SuSE-Code-12_1-Branch~308^2~495 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2987403c4ccebd3833280a875fea0bcf2edf6e;p=thirdparty%2Flibsolv.git - shut up g++ --- diff --git a/src/util.h b/src/util.h index e955c073..d2748f27 100644 --- a/src/util.h +++ b/src/util.h @@ -41,7 +41,7 @@ static inline void *sat_extend(void *buf, size_t len, size_t nmemb, size_t size, static inline void *sat_zextend(void *buf, size_t len, size_t nmemb, size_t size, size_t block) { buf = sat_extend(buf, len, nmemb, size, block); - memset(buf + len * size, 0, nmemb * size); + memset((char *)buf + len * size, 0, nmemb * size); return buf; }