diff options
author | Octasic Inc <support@octasic.com> | 2006-06-02 17:20:02 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-27 21:07:43 +0200 |
commit | 28d1a12970507987a1e064ec1f59e73c11e65b4e (patch) | |
tree | 3222724baa46fb6f63035867b63fd273885cdecc /software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c | |
parent | 55d5dda36701cda2857f38ba7d60bd40f2c5e51a (diff) |
importing OCT612x-01.00-PR41
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c | 6 |
1 files changed, 3 insertions, 3 deletions
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++ ) |