comparison twitter_api.c @ 315:18d3e7c582de

suppress warning in particular environment.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 30 Aug 2009 02:11:37 +0900
parents 227e59f017f2
children cc41ee1f5d3a
comparison
equal deleted inserted replaced
314:657907189ffb 315:18d3e7c582de
136 xmlFree(str); 136 xmlFree(str);
137 } 137 }
138 else if(!xmlStrcmp(nptr->name, (xmlChar *)"id")) { 138 else if(!xmlStrcmp(nptr->name, (xmlChar *)"id")) {
139 gchar *str = (gchar *)xmlNodeGetContent(nptr); 139 gchar *str = (gchar *)xmlNodeGetContent(nptr);
140 st->id = atoll(str); 140 st->id = atoll(str);
141 twitter_debug("id=%lld\n", st->id); 141 twitter_debug("id=%llud\n", (long long unsigned int)st->id);
142 xmlFree(str); 142 xmlFree(str);
143 } 143 }
144 else if(!xmlStrcmp(nptr->name, (xmlChar *)"text")) { 144 else if(!xmlStrcmp(nptr->name, (xmlChar *)"text")) {
145 gchar *str = (gchar *)xmlNodeGetContent(nptr); 145 gchar *str = (gchar *)xmlNodeGetContent(nptr);
146 st->text = g_strdup(str); 146 st->text = g_strdup(str);