comparison arogue5/rip.c @ 300:0250220d8cdd

Fix an assortment of compiler warnings. A few potential bugs were removed in the process. Much code cleanup remains to be done.
author John "Elwin" Edwards
date Fri, 22 Nov 2019 21:18:27 -0500
parents d3968e9cb98d
children e52a8a7ad4c5
comparison
equal deleted inserted replaced
299:74351bf23e5e 300:0250220d8cdd
605 sprintf(fate, "escaped"); 605 sprintf(fate, "escaped");
606 } 606 }
607 else 607 else
608 return; 608 return;
609 609
610 fprintf(logfile, "%d %d %s %d %s %d %d %d %c %s\n", time(NULL), amount, 610 fprintf(logfile, "%ld %ld %s %d %s %d %d %d %c %s\n", time(NULL), amount,
611 whoami, pstats.s_lvl, class, level, max_level, quest_item, had_quest, 611 whoami, pstats.s_lvl, class, level, max_level, quest_item, had_quest,
612 fate); 612 fate);
613 fclose(logfile); 613 fclose(logfile);
614 #endif 614 #endif
615 return; 615 return;