Re: [PATCH v2 2/8] qnum: Make qnum_get_double() get const pointer

2020-11-17 Thread Marc-André Lureau
On Tue, Nov 17, 2020 at 2:43 AM Eduardo Habkost wrote: > qnum_get_double() won't change the object, the argument can be > const. > > Signed-off-by: Eduardo Habkost > No idea why I didn't make it const in the first place. Reviewed-by: Marc-André Lureau --- > include/qapi/qmp/qnum.h | 2 +- >

[PATCH v2 2/8] qnum: Make qnum_get_double() get const pointer

2020-11-16 Thread Eduardo Habkost
qnum_get_double() won't change the object, the argument can be const. Signed-off-by: Eduardo Habkost --- include/qapi/qmp/qnum.h | 2 +- qobject/qnum.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/qapi/qmp/qnum.h b/include/qapi/qmp/qnum.h index 25f4733e