diff --git a/src/p25p1_hdu.c b/src/p25p1_hdu.c index eaf49a8..a535456 100644 --- a/src/p25p1_hdu.c +++ b/src/p25p1_hdu.c @@ -471,7 +471,7 @@ processHDU(dsd_opts* opts, dsd_state* state) if (opts->payload == 1 && state->errs == 0) { //fprintf (stderr, "HDU ALG ID: 0x%X KEY ID: 0x%X MI: %s \n", algidhex, kidhex, mi); - fprintf (stderr, "HDU ALG ID: 0x%X KEY ID: 0x%X MI: 0x%08X%08X%02X\n", algidhex, kidhex, mihex1, mihex2, mihex3); + fprintf (stderr, "HDU ALG ID: 0x%X KEY ID: 0x%X MI: 0x%08llX%08llX%02llX\n", algidhex, kidhex, mihex1, mihex2, mihex3); } if (opts->p25enc == 1 && opts->payload == 0) diff --git a/src/p25p1_ldu2.c b/src/p25p1_ldu2.c index 097baca..55bdb53 100644 --- a/src/p25p1_ldu2.c +++ b/src/p25p1_ldu2.c @@ -379,7 +379,7 @@ processLDU2 (dsd_opts * opts, dsd_state * state) if (opts->payload == 1 && state->errs == 0) { //fprintf (stderr, "LDU2 ALG ID: 0x%X KEY ID: 0x%X MI: %s \n", algidhex, kidhex, mi); - fprintf (stderr, "LDU2 ALG ID: 0x%X KEY ID: 0x%X MI: 0x%08X%08X%02X\n", algidhex, kidhex, mihex1, mihex2, mihex3); + fprintf (stderr, "LDU2 ALG ID: 0x%X KEY ID: 0x%X MI: 0x%08llX%08llX%02llX\n", algidhex, kidhex, mihex1, mihex2, mihex3); } //if (opts->p25enc == 1 && opts->payload == 0) if (opts->payload == 0)