mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-24 06:48:46 +00:00
Fix r_vector.h for C++ build (#13890)
This commit is contained in:
parent
838f637ad2
commit
599bee4d1e
@ -165,7 +165,7 @@ static inline void **r_pvector_index_ptr(RPVector *vec, size_t index) {
|
||||
|
||||
// same as r_pvector_index_ptr(<vec>, 0)
|
||||
static inline void **r_pvector_data(RPVector *vec) {
|
||||
return vec->v.a;
|
||||
return (void **)vec->v.a;
|
||||
}
|
||||
|
||||
// returns the respective pointer inside the vector if x is found or NULL otherwise.
|
||||
|
Loading…
x
Reference in New Issue
Block a user