diff options
author | Matthias Huetsch <mhu@openoffice.org> | 2001-11-26 20:10:51 +0000 |
---|---|---|
committer | Matthias Huetsch <mhu@openoffice.org> | 2001-11-26 20:10:51 +0000 |
commit | 66fc9bcf282ea5aa5a525bfbbd192bdf6d0cfa45 (patch) | |
tree | 8742f2686e248edecbc43a3642bed2795ec04d5f | |
parent | 6ee35d4f91edaefb20dcd82a35b10ed11842760b (diff) |
#95272# Fixed 'signed/unsigned mismatch' in OStorePageNameBlock::namei().
#i1750# Warning provided by 'Wall' compilation.
-rw-r--r-- | store/source/storbase.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx index 52e0c001f241..3ae6a4b4c442 100644 --- a/store/source/storbase.hxx +++ b/store/source/storbase.hxx @@ -2,9 +2,9 @@ * * $RCSfile: storbase.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mhu $ $Date: 2001-03-13 20:54:25 $ + * last change: $Author: mhu $ $Date: 2001-11-26 21:10:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -60,7 +60,7 @@ ************************************************************************/ #ifndef _STORE_STORBASE_HXX_ -#define _STORE_STORBASE_HXX_ "$Revision: 1.2 $" +#define _STORE_STORBASE_HXX_ "$Revision: 1.3 $" #ifndef _SAL_TYPES_H_ #include <sal/types.h> @@ -459,7 +459,7 @@ struct OStorePageNameBlock return store_E_InvalidParameter; // Check name length. - if (!(pName->length < sizeof(sal_Char[STORE_MAXIMUM_NAMESIZE]))) + if (!(pName->length < STORE_MAXIMUM_NAMESIZE)) return store_E_NameTooLong; // Transform pathname into key. |