Skip to content

Commit d070afd

Browse files
committed
remove some warnings
1 parent d528255 commit d070afd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required( VERSION 3.14)
1+
cmake_minimum_required( VERSION 3.13...99.99)
22

33
project( mulle-stacktrace VERSION 0.3.2 LANGUAGES C)
44

src/mulle-stacktrace-execinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static void mulle_stacktrace_dump( struct mulle_stacktrace *stacktrace,
330330
{
331331
symbol_address = info.dli_saddr;
332332
symbol_offset = (intptr_t) address - (intptr_t) symbol_address;
333-
max = symbol_offset < max ? symbol_offset : max;
333+
max = (size_t) symbol_offset < max ? (size_t) symbol_offset : max;
334334
}
335335
segment_name = info.dli_fname ? (char *) info.dli_fname : "";
336336
segment_address = info.dli_fbase;

0 commit comments

Comments
 (0)