Commit 6587f1de authored by Timothy B. Terriberry's avatar Timothy B. Terriberry
Browse files

Avoid using a long-long literal for OP_INT64_MAX.

The LL suffix isn't C89, so it may not work everywhere.
parent f83826bc
......@@ -92,7 +92,7 @@ void op_fatal_impl(const char *_str,const char *_file,int _line);
# define OP_ALWAYS_TRUE(_cond) ((void)(_cond))
# endif
# define OP_INT64_MAX ((ogg_int64_t)0x7FFFFFFFFFFFFFFFLL)
# define OP_INT64_MAX (2*(((ogg_int64_t)1<<62)-1)|1)
# define OP_INT64_MIN (-OP_INT64_MAX-1)
# define OP_MIN(_a,_b) ((_a)<(_b)?(_a):(_b))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment