We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 009e7a8 commit eda2d95Copy full SHA for eda2d95
libpkg/pkg/vec.h
@@ -89,7 +89,7 @@
89
element_type *_name##_insert_sorted(type *v, element_type el) { \
90
/* Verify if the element already exists */ \
91
if (v->len > 0) { \
92
- type *found = bsearch(&el, v->d, v->len, sizeof(element_type), compare_func); \
+ element_type *found = bsearch(&el, v->d, v->len, sizeof(element_type), compare_func); \
93
if (found != NULL){ \
94
return (found); \
95
} \
0 commit comments