From 706529fe9abcbb2ec7222e6a77449d5e5e3a8f61 Mon Sep 17 00:00:00 2001 From: dsandersoremutah Date: Mon, 12 Feb 2007 16:44:20 +0000 Subject: [PATCH] Added a cast to get rid of a compiler warning. git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1021 0109f412-320b-0410-ab79-c3e0c5ffbbe6 --- ftk/src/ftkfsys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftk/src/ftkfsys.cpp b/ftk/src/ftkfsys.cpp index 7685c51..87b0361 100644 --- a/ftk/src/ftkfsys.cpp +++ b/ftk/src/ftkfsys.cpp @@ -3398,7 +3398,7 @@ RCODE F_FileHdl::directRead( // one (if not already allocated), and use it. if ((ui64ReadOffset & m_ui64NotOnSectorBoundMask) || - (((FLMUINT64)pucDestBuffer) & m_ui64NotOnSectorBoundMask) || + (((FLMUINT64)((FLMUINT)pucDestBuffer)) & m_ui64NotOnSectorBoundMask) || (((FLMUINT64)uiBytesToRead & m_ui64NotOnSectorBoundMask))) { if( m_bRequireAlignedIO)