Author: dcreager
Date: Fri Jul 15 01:31:04 2011
New Revision: 1146937

URL: http://svn.apache.org/viewvc?rev=1146937&view=rev
Log:
AVRO-396. C: avropipe still had a reference to stdbool

I had put together the patch for AVRO-396 before fixing AVRO-861, so
there was still a lingering reference to bool and stdbool.h.  I've
removed that now.

Modified:
    avro/trunk/lang/c/src/avropipe.c

Modified: avro/trunk/lang/c/src/avropipe.c
URL: 
http://svn.apache.org/viewvc/avro/trunk/lang/c/src/avropipe.c?rev=1146937&r1=1146936&r2=1146937&view=diff
==============================================================================
--- avro/trunk/lang/c/src/avropipe.c (original)
+++ avro/trunk/lang/c/src/avropipe.c Fri Jul 15 01:31:04 2011
@@ -19,7 +19,6 @@
 #include <errno.h>
 #include <getopt.h>
 #include <inttypes.h>
-#include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -223,7 +222,7 @@ process_value(const char *prefix, avro_v
        switch (type) {
                case AVRO_BOOLEAN:
                {
-                       bool  val;
+                       int  val;
                        avro_value_get_boolean(value, &val);
                        printf("%s\t%s\n", prefix, val? "true": "false");
                        return;


Reply via email to