Skip to content

Commit

Permalink
Fix CI warnings and errors
Browse files Browse the repository at this point in the history
Signed-off-by: Zoltan Fridrich <[email protected]>
  • Loading branch information
ZoltanFridrich committed Oct 5, 2023
1 parent 1cec784 commit 1cfbac3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/basic-meson/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:

- name: Setup
run: |
$GITHUB_WORKSPACE/build/run-wrapper.sh meson $GITHUB_WORKSPACE/$BUILDDIR -Dstrict=true -Dprefix=$GITHUB_WORKSPACE/$INSTALLDIR -Dlibdir=$GITHUB_WORKSPACE/$INSTALLDIR/lib -Dsysconfdir=$GITHUB_WORKSPACE/$INSTALLDIR/etc -Dtrust_paths=$GITHUB_WORKSPACE/$INSTALLDIR/etc/pki/ca-trust-source:$GITHUB_WORKSPACE/$INSTALLDIR/share/pki/ca-trust-source -Dsystemd=disabled -Dbash_completion=disabled $MESON_BUILD_OPTS
$GITHUB_WORKSPACE/build/run-wrapper.sh meson setup $GITHUB_WORKSPACE/$BUILDDIR -Dstrict=true -Dprefix=$GITHUB_WORKSPACE/$INSTALLDIR -Dlibdir=$GITHUB_WORKSPACE/$INSTALLDIR/lib -Dsysconfdir=$GITHUB_WORKSPACE/$INSTALLDIR/etc -Dtrust_paths=$GITHUB_WORKSPACE/$INSTALLDIR/etc/pki/ca-trust-source:$GITHUB_WORKSPACE/$INSTALLDIR/share/pki/ca-trust-source -Dsystemd=disabled -Dbash_completion=disabled $MESON_BUILD_OPTS
shell: bash

- name: Build (scan-build)
Expand Down
2 changes: 1 addition & 1 deletion build/cross_file_mingw64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'

[properties]
[built-in options]
c_args = ['-fstack-protector']
c_link_args = ['-fstack-protector']

Expand Down
12 changes: 6 additions & 6 deletions common/test-hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ test_murmur3 (void)

assert (sizeof (one) == P11_HASH_MURMUR3_LEN);

p11_hash_murmur3 ((unsigned char *)&one, "one", 3, NULL);
p11_hash_murmur3 ((unsigned char *)&two, "two", 3, NULL);
p11_hash_murmur3 ((unsigned char *)&four, "four", 4, NULL);
p11_hash_murmur3 ((unsigned char *)&seven, "seven", 5, NULL);
p11_hash_murmur3 ((unsigned char *)&eleven, "eleven", 6, NULL);
p11_hash_murmur3 ((unsigned char *)&split, "ele", 3, "ven", 3, NULL);
p11_hash_murmur3 ((unsigned char *)&one, "one", (size_t)3, NULL);
p11_hash_murmur3 ((unsigned char *)&two, "two", (size_t)3, NULL);
p11_hash_murmur3 ((unsigned char *)&four, "four", (size_t)4, NULL);
p11_hash_murmur3 ((unsigned char *)&seven, "seven", (size_t)5, NULL);
p11_hash_murmur3 ((unsigned char *)&eleven, "eleven", (size_t)6, NULL);
p11_hash_murmur3 ((unsigned char *)&split, "ele", (size_t)3, "ven", (size_t)3, NULL);

assert (one != two);
assert (one != four);
Expand Down

0 comments on commit 1cfbac3

Please sign in to comment.