From cb7e90fed0b019e2ef65dce29daf52b065d86f30 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Fri, 16 Sep 2005 07:04:45 +0000 Subject: [PATCH] expression fix for gcc4.0 git-archimport-id: chth@gmx.net--2004/mala-glibc--devel--0.2--patch-113 --- ChangeLog | 12 ++++++++++++ engine/strings.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eb7851d..85060d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,18 @@ # arch-tag: automatic-ChangeLog--chth@gmx.net--2004/mala-glibc--devel--0.2 # +2005-09-16 07:04:45 GMT Christian Thaeter patch-113 + + Summary: + expression fix for gcc4.0 + Revision: + mala-glibc--devel--0.2--patch-113 + + + modified files: + ChangeLog engine/strings.h + + 2005-09-16 07:02:20 GMT Christian Thaeter patch-112 Summary: diff --git a/engine/strings.h b/engine/strings.h index e2f0774..4d84a6c 100644 --- a/engine/strings.h +++ b/engine/strings.h @@ -182,7 +182,7 @@ mala_string_cstr (const_MalaString s) static inline size_t mala_string_length (MalaString s) { - return s->len != SIZE_MAX ? s->len : s->len = strlen (s->str); + return s->len != SIZE_MAX ? s->len : (s->len = strlen (s->str)); } -- 2.11.4.GIT