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:
@@ -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;
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user