aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/acl.c2
-rw-r--r--src/progman.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/acl.c b/src/acl.c
index c78dc61..c82447c 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -637,7 +637,7 @@ static Hash_table *acl_table;
/* Calculate the hash of a string. */
static size_t
-acl_hasher (void const *data, unsigned n_buckets)
+acl_hasher (void const *data, size_t n_buckets)
{
const struct pies_acl *p = data;
return hash_string (p->name, n_buckets);
diff --git a/src/progman.c b/src/progman.c
index 411fc8c..5085f16 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -1519,12 +1519,12 @@ notify (const char *tag, int status, struct action *act)
mdef[COMPONENT_IDX].value = (char*) tag;
if (WIFEXITED (status))
{
- mdef[TERMINATION_IDX].value = _("exited with code");
+ mdef[TERMINATION_IDX].value = (char*) _("exited with code");
mdef[RETCODE_IDX].value = umaxtostr (WEXITSTATUS (status), buf);
}
else if (WIFSIGNALED (status))
{
- mdef[TERMINATION_IDX].value = _("terminated on signal");
+ mdef[TERMINATION_IDX].value = (char*) _("terminated on signal");
mdef[RETCODE_IDX].value = umaxtostr (WTERMSIG (status), buf);
}
else

Return to:

Send suggestions and report system problems to the System administrator.