diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
commit | df5520aa2dae5b3ce7abf8733dcdd152898af163 (patch) | |
tree | 00d3047bfb14f682bfb5a21010c731ed649bfed7 /app/tools/halibut/misc.c | |
parent | df247efec654e512242e4f4f1b0212034f9e01fe (diff) | |
parent | ec3c0f6f6e7153fa797dc57a0e95779cbc63a23b (diff) |
Merge branch 'release/debian/1_5.3.0GA-1'debian/1_5.3.0GA-1
Diffstat (limited to 'app/tools/halibut/misc.c')
-rw-r--r-- | app/tools/halibut/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/tools/halibut/misc.c b/app/tools/halibut/misc.c index 3f2483c..c0e86e4 100644 --- a/app/tools/halibut/misc.c +++ b/app/tools/halibut/misc.c @@ -90,7 +90,7 @@ void rdaddc(rdstringc *rs, char c) { rs->text[rs->pos] = 0; } void rdaddsc(rdstringc *rs, char const *p) { - rdaddsn(rs, p, strlen(p)); + rdaddsn(rs, p, (int)strlen(p)); } void rdaddsn(rdstringc *rs, char const *p, int len) { if (rs->pos >= rs->size - len) { @@ -527,7 +527,7 @@ void cmdline_cfg_add(paragraph *cfg, char *string) ulen += 1 + ustrlen(cfg->keyword+ulen); len = 0; while (cfg->origkeyword[len]) - len += 1 + strlen(cfg->origkeyword+len); + len += 1 + (int)strlen(cfg->origkeyword+len); ustring = ufroma_locale_dup(string); @@ -538,7 +538,7 @@ void cmdline_cfg_add(paragraph *cfg, char *string) cfg->keyword[ulen-1] = L'\0'; pos = len; - len += 2 + strlen(string); + len += 2 + (int)strlen(string); cfg->origkeyword = sresize(cfg->origkeyword, len, char); strcpy(cfg->origkeyword+pos, string); cfg->origkeyword[len-1] = '\0'; |