Changeset 6357
- Timestamp:
- 19/01/10 13:50:30 (2 years ago)
- Location:
- trunk/EDIT4
- Files:
-
- 4 modified
-
ED4_cursor.cxx (modified) (1 diff)
-
ED4_main.cxx (modified) (1 diff)
-
EDB_root_bact.cxx (modified) (2 diffs)
-
ed4_defs.hxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/EDIT4/ED4_cursor.cxx
r6353 r6357 599 599 void ED4_finish_and_show_notFoundMessage() { 600 600 if (not_found_counter != 0) { 601 GBS_strcat(not_found_message, GBS_global_string("(skipped display of % imore species)\n", not_found_counter-MAX_SHOWN_MISSING_SPECIES));601 GBS_strcat(not_found_message, GBS_global_string("(skipped display of %zu more species)\n", not_found_counter-MAX_SHOWN_MISSING_SPECIES)); 602 602 char *out_message = GBS_strclose(not_found_message); 603 603 aw_message(out_message); 604 aw_message(GBS_global_string("Couldn't load % ispecies:", not_found_counter));604 aw_message(GBS_global_string("Couldn't load %zu species:", not_found_counter)); 605 605 free(out_message); 606 606 } -
trunk/EDIT4/ED4_main.cxx
r6353 r6357 53 53 long ED4_counter = 0; 54 54 55 longnot_found_counter; // nr of species which haven't been found55 size_t not_found_counter; // nr of species which haven't been found 56 56 GBS_strstruct *not_found_message; 57 57 -
trunk/EDIT4/EDB_root_bact.cxx
r6353 r6357 75 75 not_found_counter++; 76 76 if (not_found_counter <= MAX_SHOWN_MISSING_SPECIES) { 77 sprintf(dummy,"% ld. %s\n", not_found_counter, str);77 sprintf(dummy,"%zu. %s\n", not_found_counter, str); 78 78 GBS_strcat(not_found_message,dummy); 79 79 } … … 88 88 not_found_counter++; 89 89 if (not_found_counter <= MAX_SHOWN_MISSING_SPECIES) { 90 sprintf(dummy,"% ld. %s (no data in alignment)\n", not_found_counter, str);90 sprintf(dummy,"%zu. %s (no data in alignment)\n", not_found_counter, str); 91 91 GBS_strcat(not_found_message,dummy); 92 92 } -
trunk/EDIT4/ed4_defs.hxx
r6353 r6357 44 44 // use ED4_init_notFoundMessage and ED4_finish_and_show_notFoundMessage to 45 45 // modify the following elements 46 #define MAX_SHOWN_MISSING_SPECIES 200 // limit no of missing species/data printed into not_found_message47 extern longnot_found_counter; // nr of species which haven't been found46 #define MAX_SHOWN_MISSING_SPECIES 200U // limit no of missing species/data printed into not_found_message 47 extern size_t not_found_counter; // nr of species which haven't been found 48 48 extern GBS_strstruct *not_found_message; // error message containing (some) missing/unloadable species 49 49
