diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-05-09 13:15:01 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-09 13:15:01 -0400 |
commit | 2952b11705faf16e8dae432e0a9bbf99e34d4c67 (patch) | |
tree | 600bc830e90ac505370dd75d039b6b9cc03bfd25 /locale | |
parent | 6a564b67fcb72bc5b6d5869bc9c2d575d44eee1a (diff) | |
download | glibc-2952b11705faf16e8dae432e0a9bbf99e34d4c67.tar.gz |
Use appropriate type for return value checking
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/localedef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index 61f9bef65c..2f100f7a7a 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -417,7 +417,6 @@ construct_output_path (char *path) contains a reference to the codeset. This should be normalized. */ char *startp; - size_t n; startp = path; /* We must be prepared for finding a CEN name or a location of @@ -441,6 +440,7 @@ construct_output_path (char *path) /* We put an additional '\0' at the end of the string because at the end of the function we need another byte for the trailing '/'. */ + ssize_t n; if (normal == NULL) n = asprintf (&result, "%s%s/%s%c", output_prefix ?: "", LOCALEDIR, path, '\0'); |