Skip to content

Fix for implicit conversion with 32-bit in SP math#5865

Merged
SparkiDev merged 1 commit intowolfSSL:masterfrom
dgarske:fix_-5864
Dec 8, 2022
Merged

Fix for implicit conversion with 32-bit in SP math#5865
SparkiDev merged 1 commit intowolfSSL:masterfrom
dgarske:fix_-5864

Conversation

@dgarske
Copy link
Copy Markdown
Member

@dgarske dgarske commented Dec 8, 2022

Description

Fixes:

error: implicit conversion loses integer precision: 'sp_int64' (aka 'long long') to 'sp_digit' (aka 'int')

Fixes #5864

Testing

./configure CC="clang -m32" --enable-sp && make

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Fixes `error: implicit conversion loses integer precision: sp_int64' (aka long long) to sp_digit (aka int)` building with `./configure CC="clang -m32" --enable-sp && make`
@dgarske dgarske self-assigned this Dec 8, 2022
@dgarske dgarske requested a review from SparkiDev December 8, 2022 17:02
@dgarske dgarske assigned SparkiDev and unassigned dgarske Dec 8, 2022
@SparkiDev SparkiDev merged commit 5d9532b into wolfSSL:master Dec 8, 2022
@dgarske dgarske deleted the fix_-5864 branch December 9, 2022 16:14
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.

[Bug]: SP math 32 bit build fails with clang

2 participants