mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Portability fix.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2003-01-07 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
|
* src/keyword-list.icc (KeywordExt_List::rest): Use a portable cast.
|
||||||
|
(Only in GCC a cast of an lvalue is an lvalue.)
|
||||||
|
|
||||||
2003-01-01 Bruno Haible <bruno@clisp.org>
|
2003-01-01 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
* src/options.cc (Options::parse_options): Update copyright year.
|
* src/options.cc (Options::parse_options): Update copyright year.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Inline Functions for keyword-list.{h,cc}.
|
/* Inline Functions for keyword-list.{h,cc}.
|
||||||
|
|
||||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
Copyright (C) 2002-2003 Free Software Foundation, Inc.
|
||||||
Written by Bruno Haible <bruno@clisp.org>.
|
Written by Bruno Haible <bruno@clisp.org>.
|
||||||
|
|
||||||
This file is part of GNU GPERF.
|
This file is part of GNU GPERF.
|
||||||
@@ -49,5 +49,5 @@ KeywordExt_List::first () const
|
|||||||
INLINE KeywordExt_List *&
|
INLINE KeywordExt_List *&
|
||||||
KeywordExt_List::rest ()
|
KeywordExt_List::rest ()
|
||||||
{
|
{
|
||||||
return static_cast<KeywordExt_List*>(_cdr);
|
return *reinterpret_cast<KeywordExt_List**>(&_cdr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user