Skip to content

Commit c6c1910

Browse files
committed
Fix warning
1 parent 82c79bf commit c6c1910

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/dogma/dldprint.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ void print_tu(dogma::DogmaTu *tu, const char *prefix = "")
125125
tdc5_parse_it it;
126126
tdc5_time tm;
127127
const char *buf = (const char *) tu;
128-
int len = (int) tu->GetSize();
129-
tdc5_parse_header(&h, &it, buf, len);
130-
while (tdc5_parse_next(&tm, &it, buf, len) == 1) {
128+
int fulllen = (int) tu->GetSize();
129+
tdc5_parse_header(&h, &it, buf, fulllen);
130+
while (tdc5_parse_next(&tm, &it, buf, fulllen) == 1) {
131131
printf("%s ch:%02u falling:%1d coarse:%016lu fine:%08u\n",
132132
prefix, (unsigned) tm.channel, tm.is_falling,
133133
(long unsigned) tm.coarse, (unsigned) tm.fine);

0 commit comments

Comments
 (0)