#ifdef JP
sprintf(out_val, "持ち物: 合計 %3d.%1d kg (限界の%ld%%) コマンド: ",
(int)lbtokg1(creature_ptr->total_weight) , (int)lbtokg2(creature_ptr->total_weight) ,
- (long int)((creature_ptr->total_weight * 100) / weight_limit(creature_ptr)));
#else
sprintf(out_val, "Inventory: carrying %d.%d pounds (%ld%% of capacity). Command: ",
(int)(creature_ptr->total_weight / 10), (int)(creature_ptr->total_weight % 10),
- (creature_ptr->total_weight * 100) / weight_limit(creature_ptr));
#endif
+ (long int)(creature_ptr->total_weight * 100) / weight_limit(creature_ptr));
prt(out_val, 0, 0);
command_new = inkey();
#ifdef JP
lbtokg1(a_ptr->weight), lbtokg2(a_ptr->weight), (long int)a_ptr->cost);
#else
- a_ptr->weight / 10, a_ptr->weight % 10, a_ptr->cost);
+ a_ptr->weight / 10, a_ptr->weight % 10, (long int)a_ptr->cost);
#endif
}