summaryrefslogtreecommitdiff
path: root/libexslt
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-11-21 11:06:22 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-11-21 11:06:22 +0000
commit35e40429aa30121c7f5fb770f0d94a7e651eb4ee (patch)
treeccae8a3752351901cef66fe2bc31ad58efe55000 /libexslt
parentd2afa277f6db4f7b3f3a636f12e44dd56b010f77 (diff)
downloadlibxslt-35e40429aa30121c7f5fb770f0d94a7e651eb4ee.tar.gz
libxslt-35e40429aa30121c7f5fb770f0d94a7e651eb4ee.tar.bz2
libxslt-35e40429aa30121c7f5fb770f0d94a7e651eb4ee.zip
Albert Chin posted a patch to fix a problem on Solaris with dates,
* libexslt/date.c: Albert Chin posted a patch to fix a problem on Solaris with dates, extended bitfield size too to match libxml2 code from xmlschemastypes.c Daniel
Diffstat (limited to 'libexslt')
-rw-r--r--libexslt/date.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexslt/date.c b/libexslt/date.c
index 2558e472..c533d4d4 100644
--- a/libexslt/date.c
+++ b/libexslt/date.c
@@ -89,7 +89,8 @@ struct _exsltDateValDate {
unsigned int min :6; /* 0 <= min <= 59 */
double sec;
unsigned int tz_flag :1; /* is tzo explicitely set? */
- int tzo :11; /* -1440 <= tzo <= 1440 */
+ signed int tzo :12; /* -1440 <= tzo <= 1440
+ currently only -840 to +840 are needed */
};
/* Duration value */