mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:23:32 +03:00
tidy-up: use CURL_ARRAYSIZE()
Follow-up to 13b2ea68f0 #16111
Closes #16381
This commit is contained in:
parent
1b710381ca
commit
3fd1dfc829
35 changed files with 52 additions and 64 deletions
|
|
@ -99,7 +99,7 @@ do {
|
|||
{ max, DOH_OK } /* expect buffer overwrite */
|
||||
};
|
||||
|
||||
for(i = 0; i < (int)(sizeof(playlist)/sizeof(*playlist)); i++) {
|
||||
for(i = 0; i < (int)(CURL_ARRAYSIZE(playlist)); i++) {
|
||||
const char *name = playlist[i].name;
|
||||
size_t olen = 100000;
|
||||
struct demo victim;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue