From 28d1a12970507987a1e064ec1f59e73c11e65b4e Mon Sep 17 00:00:00 2001 From: Octasic Inc Date: Fri, 2 Jun 2006 17:20:02 +0300 Subject: importing OCT612x-01.00-PR41 --- .../octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c') diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c index 65f43d3..347a3c6 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c @@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License along with the OCT6100 GPL API; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -$Octasic_Release: OCT612xAPI-01.00-PR40 $ +$Octasic_Release: OCT612xAPI-01.00-PR41 $ -$Octasic_Revision: 34 $ +$Octasic_Revision: 35 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -383,7 +383,7 @@ PUINT8 Oct6100ApiStrStr( if ( f_pszLastCharPtr < f_pszSource ) return NULL; - ulSourceLength = f_pszLastCharPtr - f_pszSource; + ulSourceLength = (UINT32)( f_pszLastCharPtr - f_pszSource ); ulStringLength = Oct6100ApiStrLen( f_pszString ); for ( ulCurrentPos = 0; ulCurrentPos < ulSourceLength; ulCurrentPos++ ) -- cgit v1.2.3