mirror of
https://github.com/sigmasternchen/libargo
synced 2025-03-15 05:08:54 +00:00
fixes marshalling of float and double
This commit is contained in:
parent
756ead18ab
commit
6733c3a4f3
1 changed files with 2 additions and 2 deletions
|
@ -73,11 +73,11 @@ static jsonValue_t* json_marshall_long_long(void* value) {
|
|||
}
|
||||
|
||||
static jsonValue_t* json_marshall_float(void* value) {
|
||||
return json_long(*((float*) value));
|
||||
return json_double(*((float*) value));
|
||||
}
|
||||
|
||||
static jsonValue_t* json_marshall_double(void* value) {
|
||||
return json_long(*((double*) value));
|
||||
return json_double(*((double*) value));
|
||||
}
|
||||
|
||||
static jsonValue_t* json_marshall_string(void* value) {
|
||||
|
|
Loading…
Reference in a new issue