diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2014-05-15 16:36:20 +0200 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2014-05-15 17:06:48 +0200 |
commit | 2fb69e98130da6f74c12dd8c3b595c960a821995 (patch) | |
tree | b382e13f50d958cb021832c526e04215861bb900 | |
parent | 87b63c2a6813d7024aa9fc48dfd5d4677462b383 (diff) | |
download | ceph-libs3-2fb69e98130da6f74c12dd8c3b595c960a821995.tar.gz |
util.h: fix MAX_URI_SIZE sizeof usage
Fix for :
inc/request.h:131:14: error: sizeof on pointer operation will return
size of 'char *' instead of 'char [9]' [-Werror,-Wsizeof-array-decay]
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | inc/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ // 255 is the maximum bucket length #define MAX_URI_SIZE \ ((sizeof("https:///") - 1) + S3_MAX_HOSTNAME_SIZE + 255 + 1 + \ - MAX_URLENCODED_KEY_SIZE + (sizeof("?torrent" - 1)) + 1) + MAX_URLENCODED_KEY_SIZE + (sizeof("?torrent") - 1) + 1) // Maximum size of a canonicalized resource #define MAX_CANONICALIZED_RESOURCE_SIZE \ |