city.c(409): warning #186: pointless comparison of unsigned integer with zero assert(impr_req <= B_LAST && impr_req >= 0); ^ connection.c(79): warning #186: pointless comparison of unsigned integer with zero assert (lvl >= 0 && lvl < ALLOW_NUM); ^ government.c(99): warning #186: pointless comparison of unsigned integer with zero assert(flag>=G_FIRST_FLAG && flag=G_FIRST_HINT && hint=B_LAST || id>=game.num_impr_types) ^ inputfile.c(589): warning #186: pointless comparison of unsigned integer with zero assert(type>=INF_TOK_FIRST && type= 0 && result < ARRAY_SIZE(descriptions)); ^ tech.c(295): warning #186: pointless comparison of unsigned integer with zero assert(flag>=0 && flag= 0) && (id < UCL_LAST)) { ^ cityturn.c(592): warning #186: pointless comparison of unsigned integer with zero if (id >= 0 && id < B_LAST && want > 0) { ^ cityturn.c(605): warning #186: pointless comparison of unsigned integer with zero if (id >= 0 && id < B_LAST) { ^ diplomats.c(926): warning #186: pointless comparison of unsigned integer with zero if (improvement < 0) { ^ sanitycheck.c(56): warning #186: pointless comparison of unsigned integer with zero assert(terrain >= T_ARCTIC && terrain < T_UNKNOWN); ^ sernet.c(721): warning #167: argument of type "int *" is incompatible with parameter of type "socklen_t={__socklen_t={unsigned int}} *restrict" if ((new_sock = accept(sockfd, &fromend.sockaddr, &fromlen)) == -1) { ^ sernet.c(1051): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" if (my_gethostname(hostname, sizeof(hostname)) != 0) { ^ sernet.c(1052): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" sz_strlcpy(hostname, "none"); ^ sernet.c(1055): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" my_snprintf(version, sizeof(version), "%d.%d.%d%s", ^ sernet.c(1060): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" my_snprintf(status, sizeof(status), "Pregame"); ^ sernet.c(1063): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" my_snprintf(status, sizeof(status), "Running"); ^ sernet.c(1066): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" my_snprintf(status, sizeof(status), "Game over"); ^ sernet.c(1069): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" my_snprintf(status, sizeof(status), "Waiting"); ^ sernet.c(1072): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" my_snprintf(players, sizeof(players), "%d", ^ sernet.c(1074): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "char *" my_snprintf(port, sizeof(port), "%d", ^ sernet.c(1079): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const char *" dio_put_string(&dout, hostname); ^ sernet.c(1080): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const char *" dio_put_string(&dout, port); ^ sernet.c(1081): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const char *" dio_put_string(&dout, version); ^ sernet.c(1082): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const char *" dio_put_string(&dout, status); ^ sernet.c(1083): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const char *" dio_put_string(&dout, players); ^ cityrep.c(412): warning #144: a value of type "void *" cannot be used to initialize an entity of type "TestCityFunc" TestCityFunc test_func = g_object_get_data(parent, "freeciv_test_func"); ^ gui_main.c(215): warning #167: argument of type "const unsigned char *" is incompatible with parameter of type "const gchar={char} *" gchar *out = g_convert(src, nsrc, "UTF-8", network_charset, NULL, &len, NULL); ^ gui_main.c(1159): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const gchar={char} *" gray50 = gdk_bitmap_create_from_data(root_window, d1, 4, 4); ^ gui_main.c(1160): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const gchar={char} *" gray25 = gdk_bitmap_create_from_data(root_window, d2, 4, 4); ^ gui_main.c(1161): warning #167: argument of type "unsigned char *" is incompatible with parameter of type "const gchar={char} *" black50 = gdk_bitmap_create_from_data(root_window, d3, 4, 4); ^ citydlg_common.c(416): warning #188: enumerated type mixed with another type from = SP_ELVIS; ^ citydlg_common.c(417): warning #188: enumerated type mixed with another type to = SP_SCIENTIST; ^ citydlg_common.c(420): warning #188: enumerated type mixed with another type from = SP_SCIENTIST; ^ citydlg_common.c(421): warning #188: enumerated type mixed with another type to = SP_TAXMAN; ^ citydlg_common.c(424): warning #188: enumerated type mixed with another type from = SP_TAXMAN; ^ citydlg_common.c(425): warning #188: enumerated type mixed with another type to = SP_ELVIS; ^ citydlg_common.c(431): warning #188: enumerated type mixed with another type city_change_specialist(pcity, from, to); ^ citydlg_common.c(431): warning #188: enumerated type mixed with another type city_change_specialist(pcity, from, to); ^ clinet.c(808): warning #167: argument of type "int *" is incompatible with parameter of type "socklen_t={__socklen_t={unsigned int}} *restrict" &fromend.sockaddr, &fromlen)) { ^ mapview_common.c(1177): warning #188: enumerated type mixed with another type put_tile_iso(x1, y1, D_T_L); ^ mapview_common.c(1185): warning #188: enumerated type mixed with another type put_tile_iso(x1, y1, D_T_R); ^ packhand.c(1533): warning #167: argument of type "char *" is incompatible with parameter of type "unsigned char *" new_tech = read_player_info_techs(pplayer, pinfo->inventions); ^ packhand.c(2201): warning #186: pointless comparison of unsigned integer with zero if(p->id < 0 || p->id >= game.num_impr_types || p->id >= B_LAST) { ^ packhand.c(2483): warning #186: pointless comparison of unsigned integer with zero if (p->id < T_FIRST || p->id >= T_COUNT) { ^ tilespec.c(2583): warning #186: pointless comparison of unsigned integer with zero assert(type >= 0 && type < NUM_TILES_CITIZEN); ^