]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix warning
authorSage Weil <sage@inktank.com>
Mon, 1 Apr 2013 04:47:38 +0000 (21:47 -0700)
committerSage Weil <sage@inktank.com>
Mon, 1 Apr 2013 04:51:59 +0000 (21:51 -0700)
commita2956f6f8e38f3c3231115dd3107b165c84905fc
treeadea35a93874b9bc3e720319b2c4d350fc995fdc
parent01779df17d91df84c77d0d439dc6fe6b5ee05323
rgw: fix warning

On a 64-bit arch, we still want to make sure it's a 32-bit value.  Gcc is
too smart for us to just cast; it will still warn on 32-bit arch that the
comparison is always true.

Signed-off-by: Sage Weil <sage@inktank.com>
src/rgw/rgw_cors_s3.cc