memory: Fix compiler warnings in unit test
authorSebastian Dröge <sebastian@centricular.com>
Sun, 7 Jun 2015 07:08:35 +0000 (09:08 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 7 Jun 2015 07:08:35 +0000 (09:08 +0200)
commitc1393aff5c042d14edae384a59e6f049a7ef185a
tree3a35675e0fd18a1dc887a3ac15940f0a76ee32de
parent64773fee9c27543555c66c5c0a062ff96a2630c6
memory: Fix compiler warnings in unit test

gst/gstmemory.c:570:38: error: implicit conversion from enumeration type 'GstMapFlags' to different enumeration
      type 'GstLockFlags' [-Werror,-Wenum-conversion]
  fail_unless (gst_memory_lock (mem, GST_MAP_WRITE));
               ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
tests/check/gst/gstmemory.c