summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/efl/eet.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/eet.rb b/lib/efl/eet.rb
index 7a1ca5b..f483fbf 100644
--- a/lib/efl/eet.rb
+++ b/lib/efl/eet.rb
@@ -36,7 +36,7 @@ module Efl
end
#
def write key, data, compress=false
- Efl::Eet.eet_write @ptr, key, FFI::MemoryPointer.from_string(data), data.bytesize, ( compress ? 1 : 0 )
+ Efl::Eet.eet_write @ptr, key, data, data.bytesize, ( compress ? 1 : 0 )
end
#
def read key