Fix scrobble and hashtag wrapper types
FossilOrigin-Name: f515ac0dfb0779469221bfa77a110761412b958323c2b4c91137d1f942703acf
This commit is contained in:
parent
4e42784215
commit
0a34c78ff8
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ char* construct_hashtag(struct mstdnt_tag* hashtag, size_t* size)
|
|||
return tmpl_gen_hashtag(&data, size);
|
||||
}
|
||||
|
||||
static char* construct_hashtag_voidwrap(void* passed, size_t index, int* res)
|
||||
static char* construct_hashtag_voidwrap(void* passed, size_t index, size_t* res)
|
||||
{
|
||||
return construct_hashtag((struct mstdnt_tag*)passed + index, res);
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ char* construct_scrobble(struct mstdnt_scrobble* scrobble, size_t* size)
|
|||
return tmpl_gen_scrobble(&tdata, size);
|
||||
}
|
||||
|
||||
static char* construct_scrobble_voidwrap(void* passed, size_t index, int* res)
|
||||
static char* construct_scrobble_voidwrap(void* passed, size_t index, size_t* res)
|
||||
{
|
||||
return construct_scrobble((struct mstdnt_scrobble*)passed + index, res);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue