Re-organize sources
[babeltrace.git] / tests / lib / test_bitfield.c
index 05547c07d07bc9b135ca3d9a24d6bd5798c93ebb..b9bd6d40a60bb093209ff67307b66aaca4277e4a 100644 (file)
@@ -19,7 +19,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include <babeltrace/bitfield-internal.h>
+#include "compat/bitfield.h"
 #include <time.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -380,7 +380,7 @@ void run_test_unsigned(unsigned int src_ui, unsigned long long src_ull)
 
 void run_test_signed_write(int src_i, long long src_ll)
 {
-       int nrbits_i, nrbits_ll;
+       unsigned int nrbits_i, nrbits_ll;
        union {
                signed char c[TEST_LEN];
                short s[TEST_LEN/sizeof(short)];
@@ -500,7 +500,8 @@ void run_test_signed_write(int src_i, long long src_ll)
 
 void run_test_signed_read(int src_i, long long src_ll)
 {
-       int nrbits_i, nrbits_ll, readval_i;
+       unsigned int nrbits_i, nrbits_ll;
+       int readval_i;
        union {
                unsigned char c[TEST_LEN];
                unsigned short s[TEST_LEN/sizeof(unsigned short)];
This page took 0.02413 seconds and 4 git commands to generate.