Skip to content

Commit 6fd4925

Browse files
author
studentfedorov
committed
int changed to size_t
1 parent a57aede commit 6fd4925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lab6/src/phonebook.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#define BUFFER_SIZE 2000
1010

11-
static int cur_phone_pos = 0;
12-
static int cur_phone_num = 0;
11+
static size_t cur_phone_pos = 0;
12+
static size_t cur_phone_num = 0;
1313

1414
void push_back_human(phonebook_t *book){
1515
if (book -> size == book -> capacity){

0 commit comments

Comments
 (0)