[GB.DB.SQLITE2]
* BUG: Fix some casting with gcc version 4.4.0 20090630 (prerelease) [GB.DB.SQLITE3] * BUG: Fix some casting with gcc version 4.4.0 20090630 (prerelease) git-svn-id: svn://localhost/gambas/trunk@2097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
a3d6ba73e5
commit
6b81473f65
@ -739,8 +739,8 @@ fType GetFieldType(const char *Type, unsigned int *length )
|
||||
|
||||
if ( rType == ft_String){
|
||||
/* if a length has been defined it will be between ()*/
|
||||
_right = rindex(Type, ')');
|
||||
_left = index(Type, '(');
|
||||
_right = (char *)rindex(Type, ')');
|
||||
_left = (char *)index(Type, '(');
|
||||
if (_right){
|
||||
_right = '\0';
|
||||
rTypeLen = atoi(_left + 1);
|
||||
|
@ -1078,8 +1078,8 @@ fType GetFieldType(const char *Type, unsigned int *length)
|
||||
if (rType == ft_String)
|
||||
{
|
||||
/* if a length has been defined it will be between () */
|
||||
_right = rindex(Type, ')');
|
||||
_left = index(Type, '(');
|
||||
_right = (char *)rindex(Type, ')');
|
||||
_left = (char *)index(Type, '(');
|
||||
if (_right)
|
||||
{
|
||||
_right = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user