Don't use unportable htobe64 macro directly

This commit is contained in:
Martin Willi 2011-12-05 15:45:01 +01:00
parent f4e25e602b
commit bd8700f055
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ transform_attribute_t *transform_attribute_create_value(payload_type_t type,
}
else
{
value = htobe64(value);
htoun64(&value, value);
this->attribute_value = chunk_clone(chunk_from_thing(value));
this->attribute_length_or_value = sizeof(value);
}