Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In function EncFSFile::write data type of the fileSize and off is size_t instead of long #12

Closed
shujaat-github opened this issue Jun 12, 2023 · 1 comment

Comments

@shujaat-github
Copy link
Contributor

The size_t is unsigned int whose max value is UINT_MAX = 4294967295 = 4.3 GB which means maximum file size can be around 4.3 GB only.

Isn't it a bug to use size_t instead of long here?

image

@mimidesunya
Copy link
Owner

In 64-bit Windows, size_t is unsigned long long, meow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants