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:
Viktor Szakats
2010-06-22 21:18:03 +00:00
parent 8935689e6a
commit 11c4faee46
2 changed files with 7 additions and 3 deletions

View File

@@ -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.

View File

@@ -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;
}