We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02327b3 commit 1fc6992Copy full SHA for 1fc6992
hwloc/distrib.c
@@ -31,7 +31,7 @@ struct hwloc_distrib_iterator{
31
};
32
33
static size_t* range(const size_t n){
34
- size_t* i,r = malloc(n*sizeof(*r));
+ size_t i,*r = malloc(n*sizeof(*r));
35
36
if(r==NULL)
37
return NULL;
@@ -41,7 +41,7 @@ static size_t* range(const size_t n){
41
}
42
43
static size_t* reversed_range(const size_t n){
44
45
46
47
0 commit comments