[easytag/easytag-2-2] Drop sizeof when using G_N_ELEMENTS
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/easytag-2-2] Drop sizeof when using G_N_ELEMENTS
- Date: Mon, 14 Apr 2014 08:48:50 +0000 (UTC)
commit ca31fae7477847348b2d0ece31cbe40024011969
Author: Santtu Lakkala <inz inz fi>
Date: Mon Apr 14 11:17:59 2014 +0300
Drop sizeof when using G_N_ELEMENTS
The refactorization left extraneous sizeof when changing to
G_N_ELEMENTS.
src/gio_wrapper.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gio_wrapper.cc b/src/gio_wrapper.cc
index 1578d75..763cfa4 100644
--- a/src/gio_wrapper.cc
+++ b/src/gio_wrapper.cc
@@ -269,7 +269,7 @@ GIO_IOStream::insert (TagLib::ByteVector const &data,
seek (0);
while (g_input_stream_read_all (istream, buffer,
- MIN (sizeof (G_N_ELEMENTS (buffer)), start),
+ MIN (G_N_ELEMENTS (buffer), start),
&r, NULL, &error) && r > 0)
{
gsize w;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]