From: David M. Lee Date: Sat, 8 Aug 2015 03:11:03 +0000 (-0500) Subject: Replace htobe64 with htonll X-Git-Tag: 11.20.0-rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06b464ab1b7c42e3c1b5b05463d5bc73c112dd76;p=thirdparty%2Fasterisk.git Replace htobe64 with htonll We don't have a compatability function to fill in a missing htobe64; but we already have one for the identical htonll. Change-Id: Ic0a95db1c5b0041e14e6b127432fb533b97e4cac --- diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c index 7aa44c0180..f12c729e1b 100644 --- a/res/res_http_websocket.c +++ b/res/res_http_websocket.c @@ -244,7 +244,7 @@ int AST_OPTIONAL_API_NAME(ast_websocket_write)(struct ast_websocket *session, en if (length == 126) { put_unaligned_uint16(&frame[2], htons(actual_length)); } else if (length == 127) { - put_unaligned_uint64(&frame[2], htobe64(actual_length)); + put_unaligned_uint64(&frame[2], htonll(actual_length)); } ao2_lock(session);