Skip to content
Snippets Groups Projects
Commit bccde5a7 authored by Simon McVittie's avatar Simon McVittie Committed by Vivek Das Mohapatra
Browse files

mmap-info: An offset is a memory size


This silences -Wsign-compare.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 8218ac47
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
...@@ -122,7 +122,7 @@ load_mmap_info (int *err, const char **errstr) ...@@ -122,7 +122,7 @@ load_mmap_info (int *err, const char **errstr)
while( fgets(&map_line[0], sizeof(map_line), maps) ) while( fgets(&map_line[0], sizeof(map_line), maps) )
{ {
int offs; size_t offs;
char *s = NULL; char *s = NULL;
int skip = 0; int skip = 0;
map_parse_state p = MAPS_START; map_parse_state p = MAPS_START;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment