Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'ilyam/master'

  • Loading branch information...
commit 2f1de6cdf00924aa2b69744ddfc5ceb78d22a2cc 2 parents 07edf37 + dba6428
@yannk authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  lib/Avro/BinaryDecoder.pm
  2. +2 −2 lib/Avro/Schema.pm
View
2  lib/Avro/BinaryDecoder.pm
@@ -98,7 +98,7 @@ sub decode_double {
my $class = shift;
my $reader = pop;
$reader->read(my $buf, 8);
- return pack "d<", $buf,
+ return unpack "d<", $buf,
}
sub skip_bytes {
View
4 lib/Avro/Schema.pm
@@ -490,11 +490,11 @@ sub new {
my ($struct, $names, $namespace) = @_;
my $name = $struct->{name};
- throw Arvo::Schema::Error::Parse("Record.Field.name is required")
+ throw Avro::Schema::Error::Parse("Record.Field.name is required")
unless defined $name && length $name;
my $type = $struct->{type};
- throw Arvo::Schema::Error::Parse("Record.Field.name is required")
+ throw Avro::Schema::Error::Parse("Record.Field.name is required")
unless defined $type && length $type;
$type = Avro::Schema->parse_struct($type, $names, $namespace);
Please sign in to comment.
Something went wrong with that request. Please try again.