From b9106f313b633ffa787e0dfee4d828c1e1b976a4 Mon Sep 17 00:00:00 2001 From: robocop Date: Sat, 14 Nov 2009 09:20:54 +0000 Subject: [PATCH] Warnings. --- src/common/classes/DbImplementation.cpp | 2 +- src/jrd/utl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/classes/DbImplementation.cpp b/src/common/classes/DbImplementation.cpp index 6bc5f4619d..075d948725 100644 --- a/src/common/classes/DbImplementation.cpp +++ b/src/common/classes/DbImplementation.cpp @@ -164,7 +164,7 @@ string DbImplementation::implementation() const const char* DbImplementation::endianess() const { - return di_flags & EndianMask == EndianBig ? "big" : "little"; + return (di_flags & EndianMask) == EndianBig ? "big" : "little"; } const DbImplementation DbImplementation::current( diff --git a/src/jrd/utl.cpp b/src/jrd/utl.cpp index 955957e433..2e240bafe5 100644 --- a/src/jrd/utl.cpp +++ b/src/jrd/utl.cpp @@ -1119,7 +1119,7 @@ int API_ROUTINE isc_version(FB_API_HANDLE* handle, FPTR_VERSION_CALLBACK routine } -void API_ROUTINE isc_format_implementation(USHORT implementation_nr, +void API_ROUTINE isc_format_implementation(USHORT /*implementation_nr*/, USHORT ibuflen, TEXT* ibuf, USHORT impl_class_nr, USHORT cbuflen, TEXT* cbuf)