1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-17 07:14:55 +00:00

Remove warning

This commit is contained in:
Carles Fernandez 2017-08-26 00:06:18 +02:00
parent 00cc726c12
commit 005917ac56
2 changed files with 6 additions and 6 deletions

View File

@ -107,7 +107,7 @@ NativeInteger_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
tmp.size = length; tmp.size = length;
if((specs&&specs->field_unsigned) if((specs&&specs->field_unsigned)
? asn_INTEGER2ulong(&tmp, &l) ? asn_INTEGER2ulong(&tmp, (unsigned long*)&l)
: asn_INTEGER2long(&tmp, &l)) { : asn_INTEGER2long(&tmp, &l)) {
rval.code = RC_FAIL; rval.code = RC_FAIL;
rval.consumed = 0; rval.consumed = 0;
@ -187,7 +187,7 @@ NativeInteger_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
if(rval.code == RC_OK) { if(rval.code == RC_OK) {
long l; long l;
if((specs&&specs->field_unsigned) if((specs&&specs->field_unsigned)
? asn_INTEGER2ulong(&st, &l) ? asn_INTEGER2ulong(&st, (unsigned long*)&l)
: asn_INTEGER2long(&st, &l)) { : asn_INTEGER2long(&st, &l)) {
rval.code = RC_FAIL; rval.code = RC_FAIL;
rval.consumed = 0; rval.consumed = 0;
@ -255,7 +255,7 @@ NativeInteger_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
&tmpintptr, pd); &tmpintptr, pd);
if(rval.code == RC_OK) { if(rval.code == RC_OK) {
if((specs&&specs->field_unsigned) if((specs&&specs->field_unsigned)
? asn_INTEGER2ulong(&tmpint, native) ? asn_INTEGER2ulong(&tmpint, (unsigned long*)native)
: asn_INTEGER2long(&tmpint, native)) : asn_INTEGER2long(&tmpint, native))
rval.code = RC_FAIL; rval.code = RC_FAIL;
else else

View File

@ -107,7 +107,7 @@ NativeInteger_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
tmp.size = length; tmp.size = length;
if((specs&&specs->field_unsigned) if((specs&&specs->field_unsigned)
? asn_INTEGER2ulong(&tmp, &l) ? asn_INTEGER2ulong(&tmp, (unsigned long *)&l)
: asn_INTEGER2long(&tmp, &l)) { : asn_INTEGER2long(&tmp, &l)) {
rval.code = RC_FAIL; rval.code = RC_FAIL;
rval.consumed = 0; rval.consumed = 0;
@ -187,7 +187,7 @@ NativeInteger_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
if(rval.code == RC_OK) { if(rval.code == RC_OK) {
long l; long l;
if((specs&&specs->field_unsigned) if((specs&&specs->field_unsigned)
? asn_INTEGER2ulong(&st, &l) ? asn_INTEGER2ulong(&st, (unsigned long *)&l)
: asn_INTEGER2long(&st, &l)) { : asn_INTEGER2long(&st, &l)) {
rval.code = RC_FAIL; rval.code = RC_FAIL;
rval.consumed = 0; rval.consumed = 0;
@ -255,7 +255,7 @@ NativeInteger_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
&tmpintptr, pd); &tmpintptr, pd);
if(rval.code == RC_OK) { if(rval.code == RC_OK) {
if((specs&&specs->field_unsigned) if((specs&&specs->field_unsigned)
? asn_INTEGER2ulong(&tmpint, native) ? asn_INTEGER2ulong(&tmpint, (unsigned long *)native)
: asn_INTEGER2long(&tmpint, native)) : asn_INTEGER2long(&tmpint, native))
rval.code = RC_FAIL; rval.code = RC_FAIL;
else else