Don't use unportable htobe64 macro directly
This commit is contained in:
@@ -272,7 +272,7 @@ transform_attribute_t *transform_attribute_create_value(payload_type_t type,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
value = htobe64(value);
|
htoun64(&value, value);
|
||||||
this->attribute_value = chunk_clone(chunk_from_thing(value));
|
this->attribute_value = chunk_clone(chunk_from_thing(value));
|
||||||
this->attribute_length_or_value = sizeof(value);
|
this->attribute_length_or_value = sizeof(value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user