[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Re: [PATCH] libamf/lcshm.cpp: fix "cast loses precision" err

From: Melchior FRANZ
Subject: [Gnash-dev] Re: [PATCH] libamf/lcshm.cpp: fix "cast loses precision" error
Date: Fri, 24 Jul 2009 19:41:44 +0200
User-agent: KMail/1.12.90 (Linux/; KDE/4.3.61; x86_64; svn-1001938; 2009-07-24)

* Melchior FRANZ -- Friday 24 July 2009:
> JFTR: The bug is still/again there ... someone reverted yesterday's change
> and put the bad casts back in.  :-}

Thanks for fixing again.  :-)

Here's another one:

  lcshm.cpp: In member function ‘void amf::LcShm::send(const std::string&,
      const std::string&, std::vector<amf::Element*, 
std::allocator<amf::Element*> >&)’:
  lcshm.cpp:573: error: cast from ‘uint8_t*’ to ‘unsigned int’ loses precision

+++ libamf/lcshm.cpp
-        if ( (unsigned int)Listener::getBaseAddress() == 0x0 )
+        if ( Listener::getBaseAddress() == 0x0 )


reply via email to

[Prev in Thread] Current Thread [Next in Thread]