Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
0a0fd5a9
Commit
0a0fd5a9
authored
Jan 24, 2011
by
Michael Beck
Browse files
Fixed size_t issues.
[r28268]
parent
072e8c0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/be/beschedtrace.c
View file @
0a0fd5a9
...
...
@@ -613,7 +613,7 @@ static ir_node *muchnik_select(void *block_env, ir_nodeset_t *ready_set, ir_node
}
else
{
force_mcands:
DB
((
env
->
dbg
,
LEVEL_3
,
"
\t
mcand = %
d
\n
"
,
ir_nodeset_size
(
&
mcands
)));
DB
((
env
->
dbg
,
LEVEL_3
,
"
\t
mcand = %
zu
\n
"
,
ir_nodeset_size
(
&
mcands
)));
irn
=
basic_selection
(
&
mcands
);
}
}
...
...
ir/ir/irprofile.c
View file @
0a0fd5a9
/*
* Copyright (C) 1995-20
08
University of Karlsruhe. All right reserved.
* Copyright (C) 1995-20
11
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
...
...
@@ -271,7 +271,7 @@ static void create_location_data(dbg_info *dbg, block_id_walker_data_t *wd)
ident
*
id
;
char
buf
[
128
];
ir_type
*
arr
;
int
i
,
len
=
strlen
(
fname
)
+
1
;
size_t
i
,
len
=
strlen
(
fname
)
+
1
;
ir_tarval
**
tarval_string
;
snprintf
(
buf
,
sizeof
(
buf
),
"firm_name_arr.%u"
,
nr
);
...
...
ir/opt/scalar_replace.c
View file @
0a0fd5a9
...
...
@@ -454,6 +454,7 @@ static path_t *find_path(ir_node *sel, size_t len)
}
else
res
=
find_path
(
pred
,
len
);
assert
(
len
<=
res
->
path_len
);
pos
=
res
->
path_len
-
len
;
res
->
path
[
pos
++
].
ent
=
get_Sel_entity
(
sel
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment