From c348afa99e4120a4ccbaea3f734be986964e64dd Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 1 Apr 2017 17:21:39 -0400 Subject: [PATCH] compile error fix --- op25/gr-op25_repeater/lib/ysf_tx_sb_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] = ' ';