From: Teodor Sigaev Date: Mon, 17 Sep 2012 15:42:09 +0000 (+0400) Subject: prevent warning X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=f848282efaa855fb8da0db07520cc656d83a047f;p=plantuner.git prevent warning --- diff --git a/plantuner.c b/plantuner.c index f023d07..02b7101 100644 --- a/plantuner.c +++ b/plantuner.c @@ -272,7 +272,7 @@ IndexFilterShow(Oid* indexes, int nIndexes) len = 1 /* \0 */ + nIndexes * (2 * NAMEDATALEN + 2 /* ', ' */ + 1 /* . */); ptr = val = palloc(len); - *ptr ='\0'; + *ptr =(char)'\0'; for(i=0; i