catalinii / minisatip

minisatip is an SATIP server for linux using local DVB-S2, DVB-C, DVB-T or ATSC cards
https://minisatip.org
328 stars 81 forks source link

Fix compilation overflow #963

Closed lars18th closed 1 year ago

lars18th commented 2 years ago

Fixes:

on my box, strength from 0..100 seems to not be the case (vuuno4kse). dvb.c:1733:28: runtime error: signed integer overflow: 65520 * 65535 cannot be represented in type 'int'

catalinii commented 2 years ago

My point was that one some boxes is 0..100 (relative) and on others is 0..65535...

lars18th commented 2 years ago

My point was that one some boxes is 0..100 (relative) and on others is 0..65535...

Sure! For this reason I've in my TODO to add a manual configuration of each tuner to enforce the mode. However, I'm very busy at time to implement the modification.

lars18th commented 1 year ago

Hi @catalinii ,

I close this PR because is already included in #1030 .