« Previous | Next » 

Revision 710a2863

ID710a2863775b75905526ce60eb0ed82a9715fa9e
Parent 5ca6adf5
Child 9a0b8258

Added by Petr Pudlak about 10 years ago

Convert int to float when checking config. consistency

When reading the configuration file from RPC JSON, values without a
floating point are parsed as 'int', not as 'float', and later the
consistency check fails.

This patch adds an automatic conversion from 'int' to 'float' during
checking so that the improper JSON parsing is fixed.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences