fixed compilation error in lte-rrc-header.cc on 32 bit systems
authorNicola Baldo <nbaldo@cttc.es>
Tue, 11 Dec 2012 13:28:25 +0100
changeset 9503 d369ee09f4be
parent 9502 70b34ab48f6e
child 9504 5671c81e6aad
fixed compilation error in lte-rrc-header.cc on 32 bit systems
src/lte/model/lte-rrc-header.cc
--- a/src/lte/model/lte-rrc-header.cc	Mon Dec 10 18:19:51 2012 +0100
+++ b/src/lte/model/lte-rrc-header.cc	Tue Dec 11 13:28:25 2012 +0100
@@ -1561,7 +1561,7 @@
 RrcConnectionRequestHeader::GetMessage () const
 {
   RrcConnectionRequest msg;
-  msg.ueIdentity = (m_mmec.to_ulong () << 32) | (m_mTmsi.to_ulong ());
+  msg.ueIdentity = (((uint64_t) m_mmec.to_ulong ()) << 32) | (m_mTmsi.to_ulong ());
 
   return msg;
 }