]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: Fix specifying constant of double type
authorKhem Raj <raj.khem@gmail.com>
Thu, 3 Oct 2024 00:04:08 +0000 (17:04 -0700)
committerMark Wielaard <mark@klomp.org>
Thu, 3 Oct 2024 08:59:56 +0000 (10:59 +0200)
commit3cb047b9c55c86ae613df8aacc21c517dc3fa468
treedc9b38ba9ce5501fa7b2352281bf744f3536b151
parentb47bdee08a16078c8a4d81b440f99f630e3e5631
tests: Fix specifying constant of double type

'd' suffix seems to be not acceptable by clang compiler
Using 'e0' fixes this by keeping value to be same

Fixes
funcretval_test_struct.c:83:27: error: invalid suffix 'd' on floating constant
   83 |   dpoint_t dp = dmkpt (3.0d, 1.0d);
      |                           ^
funcretval_test_struct.c:83:33: error: invalid suffix 'd' on floating constant
   83 |   dpoint_t dp = dmkpt (3.0d, 1.0d);
      |

Signed-off-by: Khem Raj <raj.khem@gmail.com>
tests/funcretval_test_struct.c