mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
Define SF_COUNT_MAX as INT64_MAX.
INT64_MAX instead of 0x7FFFFFFFFFFFFFFFLL avoids type discrepancy between int64_t and LL (long long) suffix when int64_t is not long long.
This commit is contained in:
parent
bd951f9a47
commit
3bd5048f8c
@ -367,7 +367,7 @@ typedef struct sf_private_tag SNDFILE ;
|
||||
|
||||
typedef int64_t sf_count_t ;
|
||||
#ifndef SF_COUNT_MAX
|
||||
#define SF_COUNT_MAX 0x7FFFFFFFFFFFFFFFLL
|
||||
#define SF_COUNT_MAX INT64_MAX
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user