diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-06-04 15:17:10 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-06-04 17:17:48 +0200 |
commit | 5d77f149045601d0a28f8e2f2a1f484389c4eb65 (patch) | |
tree | 96fdddc748f45e9b68a51ef2ac2821047cc791d3 /src/csn1.cpp | |
parent | 17a1d5e1623ca7c09bc312fd402cdf0075b523be (diff) |
csn1: Add spaces between string literal and identifier
This is required by C++11
csn1.cpp:1147:44: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
LOGPC(DCSN1, LOGL_NOTICE, "%"PRIu64"|", bitvec_read_field(vector, readIndex, bits_to_handle));
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/csn1.cpp')
-rw-r--r-- | src/csn1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csn1.cpp b/src/csn1.cpp index 258f7c99..377c50f4 100644 --- a/src/csn1.cpp +++ b/src/csn1.cpp @@ -1144,13 +1144,13 @@ csnStreamDecoder(csnStream_t* ar, const CSN_DESCR* pDescr, bitvec *vector, unsig guint8 bits_to_handle = remaining_bits_len%8; if (bits_to_handle > 0) { - LOGPC(DCSN1, LOGL_NOTICE, "%"PRIu64"|", bitvec_read_field(vector, readIndex, bits_to_handle)); + LOGPC(DCSN1, LOGL_NOTICE, "%" PRIu64 "|", bitvec_read_field(vector, readIndex, bits_to_handle)); remaining_bits_len -= bits_to_handle; bit_offset += bits_to_handle; } else if (bits_to_handle == 0) { - LOGPC(DCSN1, LOGL_NOTICE, "%"PRIu64"|", bitvec_read_field(vector, readIndex, 8)); + LOGPC(DCSN1, LOGL_NOTICE, "%" PRIu64 "|", bitvec_read_field(vector, readIndex, 8)); remaining_bits_len -= 8; bit_offset += 8; } |