diff options
| author | 2024-05-23 10:01:37 +0200 | |
|---|---|---|
| committer | 2024-05-23 10:01:37 +0200 | |
| commit | 8cf7559a7e21c5757455b948814d61e6e96f08f1 (patch) | |
| tree | c9a9d6d637977f97ebfc83ba36ae794fe5f9d8c1 /xs_set.h | |
| parent | Also return an application/ld+json object in webfinger. (diff) | |
| download | penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.tar.gz penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.tar.xz penes-snac2-8cf7559a7e21c5757455b948814d61e6e96f08f1.zip | |
Added more const.
Diffstat (limited to 'xs_set.h')
| -rw-r--r-- | xs_set.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -85,7 +85,8 @@ int xs_set_add(xs_set *s, const xs_val *data) | |||
| 85 | { | 85 | { |
| 86 | /* is it 'full'? */ | 86 | /* is it 'full'? */ |
| 87 | if (s->used >= s->elems / 2) { | 87 | if (s->used >= s->elems / 2) { |
| 88 | char *p, *v; | 88 | char *p; |
| 89 | const xs_val *v; | ||
| 89 | 90 | ||
| 90 | /* expand! */ | 91 | /* expand! */ |
| 91 | s->elems *= 2; | 92 | s->elems *= 2; |