We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a09bd6a commit 5db2a0cCopy full SHA for 5db2a0c
1 file changed
API
@@ -88,7 +88,7 @@ follows.
88
unsigned total = sel_copyTypes_np("alloc", types, total);
89
if (total > 16)
90
{
91
- types = calloc(sizeof(char*), total);
+ types = calloc(total, sizeof(char*));
92
sel_copyTypes_np("alloc", types, total);
93
}
94
// Do stuff with the types.
0 commit comments