From 8940993efffaaf432320509555dc61122b8b72b2 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Mon, 28 Mar 2016 10:33:33 -0700 Subject: Reduce signed/unsigned comparison warnings The warnings generated by Clang. This is part 1 for some simple cases. BUG=pdfium:29 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1840483003 . --- core/fxcrt/include/fx_ext.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/fxcrt/include') diff --git a/core/fxcrt/include/fx_ext.h b/core/fxcrt/include/fx_ext.h index 8492bc96aa..68ae2a3651 100644 --- a/core/fxcrt/include/fx_ext.h +++ b/core/fxcrt/include/fx_ext.h @@ -12,6 +12,8 @@ #include "core/fxcrt/include/fx_basic.h" +#define FX_INVALID_OFFSET static_cast(-1) + // TODO(thestig) Using unique_ptr with ReleaseDeleter is still not ideal. // Come up or wait for something better. This appears in this file rather // than fx_stream.h due to include ordering restrictions. -- cgit v1.2.3