Re: [PATCH v3 02/25] util: virtypedparam: Use proper enum type for all switch() statements

2023-04-19 Thread Martin Kletzander
On Wed, Apr 19, 2023 at 03:08:03PM +0200, Peter Krempa wrote: On Wed, Apr 19, 2023 at 15:02:34 +0200, Martin Kletzander wrote: On Wed, Apr 19, 2023 at 02:04:19PM +0200, Peter Krempa wrote: > Ensure that all switch statements in this module use the proper type in > switch() statements to ensure

Re: [PATCH v3 02/25] util: virtypedparam: Use proper enum type for all switch() statements

2023-04-19 Thread Peter Krempa
On Wed, Apr 19, 2023 at 15:02:34 +0200, Martin Kletzander wrote: > On Wed, Apr 19, 2023 at 02:04:19PM +0200, Peter Krempa wrote: > > Ensure that all switch statements in this module use the proper type in > > switch() statements to ensure complier protections. > > > > Signed-off-by: Peter Krempa

Re: [PATCH v3 02/25] util: virtypedparam: Use proper enum type for all switch() statements

2023-04-19 Thread Martin Kletzander
On Wed, Apr 19, 2023 at 03:02:34PM +0200, Martin Kletzander wrote: On Wed, Apr 19, 2023 at 02:04:19PM +0200, Peter Krempa wrote: Ensure that all switch statements in this module use the proper type in switch() statements to ensure complier protections. Signed-off-by: Peter Krempa ---

Re: [PATCH v3 02/25] util: virtypedparam: Use proper enum type for all switch() statements

2023-04-19 Thread Martin Kletzander
On Wed, Apr 19, 2023 at 02:04:19PM +0200, Peter Krempa wrote: Ensure that all switch statements in this module use the proper type in switch() statements to ensure complier protections. Signed-off-by: Peter Krempa --- src/util/virtypedparam.c | 12 1 file changed, 8 insertions(+),

[PATCH v3 02/25] util: virtypedparam: Use proper enum type for all switch() statements

2023-04-19 Thread Peter Krempa
Ensure that all switch statements in this module use the proper type in switch() statements to ensure complier protections. Signed-off-by: Peter Krempa --- src/util/virtypedparam.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/util/virtypedparam.c