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
700b6a2b
Commit
700b6a2b
authored
Aug 05, 2008
by
Michael Beck
Browse files
- add two more (void *) casts to should up MSVC const problems
[r21003]
parent
60b3d856
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/libfirm/adt/array.h
View file @
700b6a2b
...
...
@@ -230,7 +230,7 @@
* @remark This macro may change arr, so update all references!
*/
#define ARR_RESIZE(type, arr, n) \
((arr) = _arr_resize((arr), (n), sizeof(type)))
((arr) = _arr_resize((
void *)(
arr), (n), sizeof(type)))
/**
* Resize a flexible array, always reallocate data.
...
...
@@ -242,7 +242,7 @@
* @remark This macro may change arr, so update all references!
*/
#define ARR_SETLEN(type, arr, n) \
((arr) = _arr_setlen((arr), (n), sizeof(type) * (n)))
((arr) = _arr_setlen((
void *)(
arr), (n), sizeof(type) * (n)))
/** Set a length smaller than the current length of the array. Do not
* resize. len must be <= ARR_LEN(arr). */
...
...
Write
Preview
Supports
Markdown
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