cast size_t to unsigned long

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14859 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-20 10:34:12 +00:00
parent cc70701410
commit 94ad9d0c80
2 changed files with 2 additions and 2 deletions

View File

@@ -741,7 +741,7 @@ sec_login(char *host)
tmp = realloc(app_data, (*m)->size);
if (tmp == NULL) {
warnx ("realloc %u failed", (*m)->size);
warnx ("realloc %lu failed", (unsigned long)(*m)->size);
return -1;
}
app_data = tmp;

View File

@@ -639,7 +639,7 @@ construct_command (char **res, int argc, char **argv)
len = max (1, len);
tmp = malloc (len);
if (tmp == NULL)
errx (1, "malloc %u failed", len);
errx (1, "malloc %lu failed", (unsigned long)len);
*tmp = '\0';
for (i = 0; i < argc - 1; ++i) {