diff --git a/uatparse/uatparse.go b/uatparse/uatparse.go index e26f2389..6dc2e985 100644 --- a/uatparse/uatparse.go +++ b/uatparse/uatparse.go @@ -189,7 +189,7 @@ func formatDLACData(p string) []string { // Whole frame contents is DLAC encoded text. func (f *UATFrame) decodeTextFrame() { - if len(f.FISB_data) < f.FISB_length { + if len(f.FISB_data) < int(f.FISB_length) { return }