[matroska] r1100 - trunk/libebml/src

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: mosu
Date: 2005-03-19 13:13:29 +0300 (Sat, 19 Mar 2005)
New Revision: 1100

Modified:
   trunk/libebml/src/EbmlFloat.cpp
Log:
Compilation fix for newer gcc versions.

Modified: trunk/libebml/src/EbmlFloat.cpp
===================================================================
--- trunk/libebml/src/EbmlFloat.cpp	2005-03-17 10:13:05 UTC (rev 1099)
+++ trunk/libebml/src/EbmlFloat.cpp	2005-03-19 10:13:29 UTC (rev 1100)
@@ -1,4 +1,4 @@
-/****************************************************************************
+;/****************************************************************************
 ** libebml : parse EBML files, see http://embl.sourceforge.net/
 **
 ** <file/class description>
@@ -102,8 +102,8 @@
 		if (Size == 4) {
 			big_int32 TmpRead;
 			TmpRead.Eval(Buffer);
-			float val = *((float *)&(int32(TmpRead)));
-			Value = val;
+			int32 tmpp = int32(TmpRead);
+			Value = *((float *) &tmpp);
 			bValueIsSet = true;
 		} else if (Size == 8) {
 			big_int64 TmpRead;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.