Changeset d11822a
- Timestamp:
- 2017-08-09T05:55:15Z (7 years ago)
- Branches:
- master
- Children:
- a893271
- Parents:
- a9e0de2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter_lib.c
ra9e0de2 rd11822a 308 308 309 309 txl->list = g_slist_prepend(txl->list, 310 g_strdup_printf("%" PRI u64, c->u.array.values[i]->u.integer));310 g_strdup_printf("%" PRId64, c->u.array.values[i]->u.integer)); 311 311 } 312 312 … … 441 441 txl = g_new0(struct twitter_xml_list, 1); 442 442 txl->list = td->noretweets_ids; 443 443 444 444 // Process the retweet ids 445 445 txl->type = TXL_ID; … … 452 452 } 453 453 txl->list = g_slist_prepend(txl->list, 454 g_strdup_printf("%" PRIu64, c->u.integer));454 g_strdup_printf("%" PRId64, c->u.integer)); 455 455 } 456 456 } … … 750 750 char *pos, *new; 751 751 752 /* Skip if a required field is missing, if the t.co URL is not in fact 752 /* Skip if a required field is missing, if the t.co URL is not in fact 753 753 in the Tweet at all, or if the full-ish one *is* in it already 754 754 (dupes appear, especially in streaming API). */ … … 978 978 return; 979 979 } 980 980 981 981 /* Check this is not a tweet that should be muted */ 982 uid_str = g_strdup_printf("%" PRIu64, status->user->uid);982 uid_str = g_strdup_printf("%" G_GUINT64_FORMAT, status->user->uid); 983 983 984 984 if (g_slist_find_custom(td->mutes_ids, uid_str, (GCompareFunc)strcmp)) { … … 1170 1170 char *uid_str; 1171 1171 ut = twitter_xt_get_user(target); 1172 uid_str = g_strdup_printf("%" PRIu64, ut->uid);1172 uid_str = g_strdup_printf("%" G_GUINT64_FORMAT, ut->uid); 1173 1173 if (!(found = g_slist_find_custom(td->mutes_ids, uid_str, 1174 1174 (GCompareFunc)strcmp))) { … … 1177 1177 twitter_log(ic, "Muted user %s", ut->screen_name); 1178 1178 if (getenv("BITLBEE_DEBUG")) { 1179 fprintf(stderr, "New mute: %s %" PRIu64"\n",1179 fprintf(stderr, "New mute: %s %"G_GUINT64_FORMAT"\n", 1180 1180 ut->screen_name, ut->uid); 1181 1181 } … … 1184 1184 char *uid_str; 1185 1185 ut = twitter_xt_get_user(target); 1186 uid_str = g_strdup_printf("%" PRIu64, ut->uid);1186 uid_str = g_strdup_printf("%" G_GUINT64_FORMAT, ut->uid); 1187 1187 if ((found = g_slist_find_custom(td->mutes_ids, uid_str, 1188 1188 (GCompareFunc)strcmp))) { … … 1194 1194 twitter_log(ic, "Unmuted user %s", ut->screen_name); 1195 1195 if (getenv("BITLBEE_DEBUG")) { 1196 fprintf(stderr, "New unmute: %s %" PRIu64"\n",1196 fprintf(stderr, "New unmute: %s %"G_GUINT64_FORMAT"\n", 1197 1197 ut->screen_name, ut->uid); 1198 1198 }
Note: See TracChangeset
for help on using the changeset viewer.