From bbd242d4033c75c0b48b2c0b6b1fa5c59086954f Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.a@mailoo.org>
Date: Fri, 15 May 2015 09:09:02 +0200
Subject: [PATCH] update

---
 Makefile    | 12 ++++++------
 src/Queue.c |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index 66c4f3a..dcbf36f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,18 +5,18 @@ LIBRARY = libcgds.so
 INSTALL_PREFIX = /usr/local
 
 src:
-	cd src && make && cd ..
+	cd src && $(MAKE) && cd ..
 
 test:
-	cd test && make && cd ..
+	cd test && $(MAKE) && cd ..
 
 doc:
-	cd doc && make && cd ..
+	cd doc && $(MAKE) && cd ..
 
 clean:
-	cd src && make clean && cd ..
-	cd test && make clean && cd ..
-	cd doc && make clean && cd ..
+	cd src && $(MAKE) clean && cd ..
+	cd test && $(MAKE) clean && cd ..
+	cd doc && $(MAKE) clean && cd ..
 
 install:
 #	if [ ! -e src/obj/libcds.so ]; then make src; fi
diff --git a/src/Queue.c b/src/Queue.c
index 7921f29..47e7dd5 100644
--- a/src/Queue.c
+++ b/src/Queue.c
@@ -43,7 +43,7 @@ void _queue_push(Queue* queue, void* data)
 
 void* _queue_peek(Queue* queue)
 {
-	return vector_get(queue->array, 0);
+	return _vector_get(queue->array, 0);
 }
 
 void queue_pop(Queue* queue)
-- 
2.44.0