<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/75226be6a8681c8449fc1b1624635fc3bd46f3c1">https://github.com/macports/macports-legacy-support/commit/75226be6a8681c8449fc1b1624635fc3bd46f3c1</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 75226be fix compilation warnings with test_ffsl
</span>75226be is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 75226be6a8681c8449fc1b1624635fc3bd46f3c1
</span>Author: Chris Jones <jonesc@hep.phy.cam.ac.uk>
AuthorDate: Mon May 25 23:30:52 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> fix compilation warnings with test_ffsl
</span>---
test/test_ffsl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/test/test_ffsl.c b/test/test_ffsl.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 0480b29..470f106 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/test/test_ffsl.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/test/test_ffsl.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,14 +22,14 @@ int main() {
</span>
printf( "testing ffsl :-\n" );
for ( int i = 0; i <= 32; ++i ) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- const long int test = ( i>0 ? 1UL << i-1 : 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const long int test = ( i>0 ? 1UL << (i-1) : 0);
</span> const int j = ffsl(test);
printf( " Set bit %i - Found bit %i\n", i, j );
}
printf( "testing ffsll :-\n" );
for ( int i = 0; i <= 64; ++i ) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- const long long int test = ( i>0 ? 1UL << i-1 : 0 );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const long long int test = ( i>0 ? 1UL << (i-1) : 0 );
</span> const int j = ffsll(test);
printf( " Set bit %i - Found bit %i\n", i, j );
}
</pre><pre style='margin:0'>
</pre>