Skip to content

Fix build warning #953

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

Merged
merged 1 commit into from
Aug 11, 2022
Merged

Fix build warning #953

merged 1 commit into from
Aug 11, 2022

Conversation

Smit-create
Copy link
Collaborator

/Users/thebigbool/repos/lpython/src/libasr/runtime/lfortran_intrinsics.c:735:11: warning: absolute value function 'abs' given an argument of type 'int64_t' (aka 'long long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
    num = abs(num);

@namannimmo10 namannimmo10 merged commit 1e1e9b0 into lcompilers:main Aug 11, 2022
@Smit-create Smit-create deleted the fix_warn branch August 11, 2022 19:47
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.

3 participants