Code

parser_test: Fixed a sign-compare warning/error on GCC.
authorSebastian Harl <sh@tokkee.org>
Mon, 31 Mar 2014 21:54:53 +0000 (23:54 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 31 Mar 2014 21:54:53 +0000 (23:54 +0200)
t/frontend/parser_test.c

index 71fc1dbd219b0b382b615897670af5d573d35b9f..8a2b2d50a8a5151809b99464d4f5551da44ffb0e 100644 (file)
@@ -42,7 +42,7 @@ START_TEST(test_parse)
                const char *query;
                int len;
                int expected;
-               int expected_cmd;
+               sdb_conn_state_t expected_cmd;
        } golden_data[] = {
                /* empty commands */
                { NULL,                 -1, -1, 0 },