aboutsummaryrefslogtreecommitdiffstats
path: root/src/dls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dls.cpp')
-rw-r--r--src/dls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dls.cpp b/src/dls.cpp
index 06cf8a9..6c5d76b 100644
--- a/src/dls.cpp
+++ b/src/dls.cpp
@@ -317,8 +317,8 @@ DATA_GROUP* DLSEncoder::dls_get(const std::string& text, DABCharset charset, int
#ifdef DEBUG
fprintf(stderr, "DL segment:");
- for (size_t i = 0; i < seg_data.size(); i++)
- fprintf(stderr, " %02x", seg_data[i]);
+ for (const uint8_t& b : seg_data)
+ fprintf(stderr, " %02x", b);
fprintf(stderr, "\n");
#endif
return dg;