diff options
author | Josh Haberman <jhaberman@gmail.com> | 2015-06-08 17:56:03 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2015-06-08 17:56:03 -0700 |
commit | e8ed021ee717cb8cc4e9de68e61d4dae2e1dd832 (patch) | |
tree | 8da393338eef5d13167a09fa9292e8a486fbb9ea /ruby/ext/google/protobuf_c/map.c | |
parent | 9cbdaedb86debc56ffec91935ee9546f3c92eb0a (diff) | |
download | protobuf-e8ed021ee717cb8cc4e9de68e61d4dae2e1dd832.tar.gz protobuf-e8ed021ee717cb8cc4e9de68e61d4dae2e1dd832.tar.bz2 protobuf-e8ed021ee717cb8cc4e9de68e61d4dae2e1dd832.zip |
Updated upb to latest version (C89).
Since this version of upb supports C89, all of the
extra compiler flags are no longer required.
Diffstat (limited to 'ruby/ext/google/protobuf_c/map.c')
-rw-r--r-- | ruby/ext/google/protobuf_c/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/ext/google/protobuf_c/map.c b/ruby/ext/google/protobuf_c/map.c index 12e7a9d9..3436e09a 100644 --- a/ruby/ext/google/protobuf_c/map.c +++ b/ruby/ext/google/protobuf_c/map.c @@ -120,7 +120,7 @@ static VALUE table_key_to_ruby(Map* self, const char* buf, size_t length) { } static void* value_memory(upb_value* v) { - return (void*)(&v->val.uint64); + return (void*)(&v->val); } // ----------------------------------------------------------------------------- |