Use signed long for FPDF_GetNamedDest buffer length.
authorBo Xu <bo_xu@foxitsoftware.com>
Wed, 21 Jan 2015 22:20:28 +0000 (14:20 -0800)
committerBo Xu <bo_xu@foxitsoftware.com>
Wed, 21 Jan 2015 22:20:28 +0000 (14:20 -0800)
commitdc43b322915c5256a5a9458e6b8cd28bcecf91ae
tree678d12670f54485277517f2478e0f397fd63c7c7
parent0185408126529d5df7e095c5789affd4ae971375
Use signed long for FPDF_GetNamedDest buffer length.

Need to have return value -1 indicating insufficient buffer.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/862163002
fpdfsdk/include/fpdfview.h
fpdfsdk/src/fpdfview.cpp