diff options
author | Max <ikj1234i@yahoo.com> | 2017-04-01 17:21:39 -0400 |
---|---|---|
committer | Max <ikj1234i@yahoo.com> | 2017-04-01 17:21:39 -0400 |
commit | c348afa99e4120a4ccbaea3f734be986964e64dd (patch) | |
tree | 002f28937a26207180113a8aad34baa027457e59 | |
parent | e383a7a719530b94fa5fef579300eb04c1945dab (diff) |
compile error fix
-rw-r--r-- | op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc b/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc index 4853a05..1708ccf 100644 --- a/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc +++ b/op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc @@ -295,7 +295,7 @@ void ysf_tx_sb_impl::write_fich(uint8_t result[100]) { static inline void sstring(const char s[], char dest[10]) { memset(dest, ' ', 10); - memcpy(dest, s, std::min(strlen(s), 10UL)); + memcpy(dest, s, std::min(strlen(s), (size_t)10)); for (int i=0; i<10; i++) { if (dest[i] < ' ') dest [i] = ' '; |