Skip to content

Don't use (some_type)-1 to represent high maximum values #91

@eyalroz

Description

@eyalroz

In various place in the code, we use (size_t)-1 or (printf_size_t)-1 to represent high maximum values. That's not a nice idiom. Let's have a proper preprocessor define, e.g. PRINTF_MAX_POSSIBLE_BUFFER_SIZE, for this.

Metadata

Metadata

Assignees

Labels

resolved-on-developA changeset fixing this issue has been commiutted to the development branchtask

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions