Permalink
Browse files

Merge remote-tracking branch 'ilyam/master'

  • Loading branch information...
2 parents 07edf37 + dba6428 commit 2f1de6cdf00924aa2b69744ddfc5ceb78d22a2cc @yannk committed Sep 18, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/Avro/BinaryDecoder.pm
  2. +2 −2 lib/Avro/Schema.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
@@ -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);

0 comments on commit 2f1de6c

Please sign in to comment.