diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
commit | d0ca838c7ab297036b4a7c45351761a48fe05efd (patch) | |
tree | f0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /app/tools/halibut/misc.c | |
parent | fd6639655b399a79fb72f494786a4f57da9c90e7 (diff) | |
parent | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff) |
Update upstream source from tag 'upstream/5.2.2GA'
Update to upstream version '5.2.2GA'
with Debian dir 9c80045d0b4f9e463647bc8af8c090a673df4132
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'; |