diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2000-12-08 11:20:09 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2000-12-08 11:20:09 +0000 |
commit | a8a8af9f3a63250f9f848eaf9ee7c92f3e00cab0 (patch) | |
tree | e842694cc49d55350e2675547c01afc5bf5f5a65 /cppu | |
parent | d5bcffe1b0fbeb3bd20f4b055336f25b40704035 (diff) |
minor bug with union discriminant
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/sequence.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/uno/sequence.cxx b/cppu/source/uno/sequence.cxx index 8d4576aea3f4..bee8debe068f 100644 --- a/cppu/source/uno/sequence.cxx +++ b/cppu/source/uno/sequence.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sequence.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:25:53 $ + * last change: $Author: dbo $ $Date: 2000-12-08 12:20:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -267,7 +267,7 @@ inline void __defaultConstructElements( allocSeq( ppSequence, nElementSize, nAlloc ); sal_Int32 nValueOffset = ((typelib_UnionTypeDescription *)pElementTypeDescr)->nValueOffset; - sal_Int32 nDefaultDiscr = ((typelib_UnionTypeDescription *)pElementTypeDescr)->nDefaultDiscriminant; + sal_Int64 nDefaultDiscr = ((typelib_UnionTypeDescription *)pElementTypeDescr)->nDefaultDiscriminant; typelib_TypeDescription * pDefaultTypeDescr = 0; TYPELIB_DANGER_GET( &pDefaultTypeDescr, ((typelib_UnionTypeDescription *)pElementTypeDescr)->pDefaultTypeRef ); |