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

Use ULL suffix in constants #815

Closed
wants to merge 1 commit into from
Closed

Use ULL suffix in constants #815

wants to merge 1 commit into from

Conversation

ryao
Copy link
Contributor

@ryao ryao commented Jul 10, 2012

The lack of the ULL suffix causes warnings such as the following on
32-bit systems:

In function 'zfsctl_is_snapdir':
zfs-0.6.0//module/zfs/zfs_ctldir.c:151: warning: integer constant is too
large for 'long' type

We add the ULL suffix to fix that.

This closes issue #813.

Signed-off-by: Richard Yao [email protected]

The lack of the ULL suffix causes warnings such as the following on
32-bit systems:

In function 'zfsctl_is_snapdir':
zfs-0.6.0//module/zfs/zfs_ctldir.c:151: warning: integer constant is too
large for 'long' type

We add the ULL suffix to fix that.

This closes issue openzfs#813.

Signed-off-by: Richard Yao <[email protected]>
@behlendorf
Copy link
Contributor

Merged as commit a387358

@behlendorf behlendorf closed this Jul 10, 2012
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

Successfully merging this pull request may close these issues.

2 participants