From befa5724f12d20f6a3bf9ab96b2690200fad32f8 Mon Sep 17 00:00:00 2001
From: Sebastian Rachuj <rachus@web.de>
Date: Wed, 15 May 2013 16:51:54 +0200
Subject: [PATCH] Removed unnecessary casts in EBML::Element

---
 taglib/ebml/ebmlelement.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/taglib/ebml/ebmlelement.cpp b/taglib/ebml/ebmlelement.cpp
index 32ce46de..00a9b7e7 100644
--- a/taglib/ebml/ebmlelement.cpp
+++ b/taglib/ebml/ebmlelement.cpp
@@ -101,7 +101,7 @@ public:
   // for the id)
   ByteVector createVInt(ulli number, bool addOne = true, bool shortest = true)
   {
-    ByteVector vint = ByteVector::fromUInt64BE(static_cast<signed long long>(number));
+    ByteVector vint = ByteVector::fromUInt64BE(number);
     
     // Do we actually need to calculate the length of the variable length
     // integer? If not, then prepend the 0b0000 0001 if necessary and return the
@@ -388,7 +388,7 @@ EBML::Element *EBML::Element::addElement(EBML::ulli id, signed long long number)
 
 EBML::Element *EBML::Element::addElement(EBML::ulli id, EBML::ulli number)
 {
-  return addElement(id, ByteVector::fromUInt64BE(static_cast<signed long long>(number)));
+  return addElement(id, ByteVector::fromUInt64BE(number));
 }
 
 EBML::Element *EBML::Element::addElement(EBML::ulli id, long double number)
@@ -457,7 +457,7 @@ void EBML::Element::setAsInt(signed long long number)
 
 void EBML::Element::setAsUnsigned(EBML::ulli number)
 {
-  setAsBinary(ByteVector::fromUInt64BE(static_cast<signed long long>(number)));
+  setAsBinary(ByteVector::fromUInt64BE(number));
 }
 
 void EBML::Element::setAsFloat(long double)