diff --git a/lang/c/docs/index.txt b/lang/c/docs/index.txt index a439a052631..df16f9d9678 100644 --- a/lang/c/docs/index.txt +++ b/lang/c/docs/index.txt @@ -178,7 +178,7 @@ different versions of the Avro library. That means that it's really only safe to use these hash values internally within the context of a single execution of a single application. -The +reset+ method “clears out” an +avro_value_t instance, making sure +The +reset+ method “clears out” an +avro_value_t+ instance, making sure that it's ready to accept the contents of a new value. For scalars, this is usually a no-op, since the new value will just overwrite the old one. For arrays and maps, this removes any existing elements from the diff --git a/lang/c/examples/quickstop.c b/lang/c/examples/quickstop.c index ff9e9700590..b26dad10c04 100644 --- a/lang/c/examples/quickstop.c +++ b/lang/c/examples/quickstop.c @@ -107,7 +107,7 @@ int print_person(avro_file_reader_t db, avro_schema_t reader_schema) if (rval == 0) { int64_t id; int32_t age; - int32_t *p; + const char *p; size_t size; avro_value_t id_value; avro_value_t first_value;