fixing bug in preprocessor (thanks to Niccolo) and some other warnings

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6542 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Florian Kaltenberger
2015-02-13 09:13:48 +00:00
parent e33efeed43
commit 5ef6c4e8a3
6 changed files with 39 additions and 29 deletions
+7
View File
@@ -1077,6 +1077,13 @@ uint8_t do_SIB23(uint8_t Mod_id,
AssertFatal (enc_rval.encoded > 0, "ASN1 message encoding failed (%s, %lu)!\n",
enc_rval.failed_type->name, enc_rval.encoded);
#ifdef XER_PRINT
int i=0;
for (i = 0; i < (enc_rval.encoded+7)/8; i++)
printf("%02x ", ((uint8_t*)buffer)[i]);
printf("\n");
#endif
#if defined(ENABLE_ITTI)
# if !defined(DISABLE_XER_SPRINT)
{