Skip to content

Commit 5648383

Browse files
author
Nat!
committed
less _WIN64 warnings (a new hope)
1 parent a138a46 commit 5648383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mulle-objc-signature.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,8 +1112,8 @@ int _mulle_objc_type_is_equal_to_type( char *a, char *b)
11121112

11131113

11141114
// this is pre-alpha
1115-
static int types_are_compatible( char *a, int a_len,
1116-
char *b, int b_len)
1115+
static int types_are_compatible( char *a, size_t a_len,
1116+
char *b, size_t b_len)
11171117
{
11181118
char *s;
11191119

@@ -1199,7 +1199,7 @@ static int types_are_compatible( char *a, int a_len,
11991199
//
12001200
}
12011201

1202-
return( ! strncmp( a, b, a_len < b_len ? a_len : b_len));
1202+
return( ! strncmp( a, b, (int) (a_len < b_len ? a_len : b_len)));
12031203
}
12041204

12051205

0 commit comments

Comments
 (0)