* wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of

type `long long int', not `long int'.
	(wcstoq): Likewise.
This commit is contained in:
Ulrich Drepper 2007-01-19 22:59:32 +00:00
parent f8a1785592
commit 9e6e344e69
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2007-01-18 Anton Nikishaev <anton.nik@gmail.com>
* wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of
type `long long int', not `long int'.
(wcstoq): Likewise.
2007-01-18 Ulrich Drepper <drepper@redhat.com>
* scripts/gen-as-const.awk: Add cast to long to avoid int promotion

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1995-2004,2005,2006 Free Software Foundation, Inc.
/* Copyright (C) 1995-2004,2005,2006,2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -414,7 +414,7 @@ extern unsigned long int wcstoul (__const wchar_t *__restrict __nptr,
__THROW;
#if defined __USE_ISOC99 || (defined __GNUC__ && defined __USE_GNU)
/* Convert initial portion of wide string NPTR to `long int'
/* Convert initial portion of wide string NPTR to `long long int'
representation. */
__extension__
extern long long int wcstoll (__const wchar_t *__restrict __nptr,
@ -431,7 +431,7 @@ extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr,
__END_NAMESPACE_C99
#if defined __GNUC__ && defined __USE_GNU
/* Convert initial portion of wide string NPTR to `long int'
/* Convert initial portion of wide string NPTR to `long long int'
representation. */
__extension__
extern long long int wcstoq (__const wchar_t *__restrict __nptr,