tool_help.h: drop redundant U suffix from literals

Also:
- update the generator script accordingly.
- convert lowercase `u` suffix to uppercase to match rest of code.

Closes #20476
This commit is contained in:
Viktor Szakats 2026-01-29 19:37:24 +01:00
parent c2d7bfa992
commit 4d0c3b690e
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 28 additions and 28 deletions

View file

@ -1168,7 +1168,7 @@ sub listcats {
@categories = sort @categories;
for my $i (0..$#categories) {
printf("#define CURLHELP_%-10s (%s)\n",
uc($categories[$i]), "1u << ${i}u");
uc($categories[$i]), "1 << ${i}");
}
}