Skip to content

Commit 795d144

Browse files
committed
change int to unsigned short
1 parent c6094a8 commit 795d144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/includes/train.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace LaMetropole {
1919
char ID[21], stationNum, stations[101][35];
2020

2121
int pricePrefixSum[100], start_hour, start_minute, maxSeatNum;
22-
int leavingTime[100], stopoverTimes[100];
22+
unsigned short leavingTime[100], stopoverTimes[100];
2323
char beginDay, beginMonth, endDay, endMonth, Type;
2424

2525
train(std::string Id, char station_num, char type);

0 commit comments

Comments
 (0)