2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Use the semantic patch to do the unsigned -> unsigned int change

Apply the semantic patch on the whole code base to get rid of 'unsigned'
usage in favor of explicit 'unsigned int'.
This commit is contained in:
Ondřej Surý
2022-09-07 17:22:47 +02:00
parent 7e74e441a5
commit f6e4f620b3
34 changed files with 82 additions and 79 deletions

View File

@@ -2205,7 +2205,7 @@ write_public_key(const dst_key_t *key, int type, const char *directory) {
}
isc_buffer_usedregion(&classb, &r);
if ((unsigned)fwrite(r.base, 1, r.length, fp) != r.length) {
if ((unsigned int)fwrite(r.base, 1, r.length, fp) != r.length) {
ret = DST_R_WRITEERROR;
}
@@ -2216,7 +2216,7 @@ write_public_key(const dst_key_t *key, int type, const char *directory) {
}
isc_buffer_usedregion(&textb, &r);
if ((unsigned)fwrite(r.base, 1, r.length, fp) != r.length) {
if ((unsigned int)fwrite(r.base, 1, r.length, fp) != r.length) {
ret = DST_R_WRITEERROR;
}