2010-06-22 23:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/macro/macrolex.c
* Added casts to pacify long-time msvc warnings.
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-06-22 23:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/macro/macrolex.c
|
||||
* Added casts to pacify long-time msvc warnings.
|
||||
|
||||
2010-06-22 20:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/rtl/gtwin/gtwin.c
|
||||
- Deleted unused/unnecessary Windows type declarations.
|
||||
|
||||
@@ -251,15 +251,15 @@ static int hb_lexNumConv( YYSTYPE *yylval_ptr, PHB_MACRO_LEX pLex, HB_SIZE ulLen
|
||||
&lNumber, &dNumber, &iDec, &iWidth ) )
|
||||
{
|
||||
yylval_ptr->valDouble.dNumber = dNumber;
|
||||
yylval_ptr->valDouble.bDec = iDec;
|
||||
yylval_ptr->valDouble.bWidth = iWidth;
|
||||
yylval_ptr->valDouble.bDec = ( HB_UCHAR ) iDec;
|
||||
yylval_ptr->valDouble.bWidth = ( HB_UCHAR ) iWidth;
|
||||
pLex->ulSrc += ulLen;
|
||||
return NUM_DOUBLE;
|
||||
}
|
||||
else
|
||||
{
|
||||
yylval_ptr->valLong.lNumber = lNumber;
|
||||
yylval_ptr->valLong.bWidth = iWidth;
|
||||
yylval_ptr->valLong.bWidth = ( HB_UCHAR ) iWidth;
|
||||
pLex->ulSrc += ulLen;
|
||||
return NUM_LONG;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user