cleanup all libs/ headers and dependent files
[clinton/Smoothieware.git] / src / libs / RingBuffer.h
index 82d346c..3b53025 100644 (file)
@@ -100,7 +100,7 @@ template<class kind, int length> kind* RingBuffer<kind, length>::get_ref(int ind
     }
     // TODO : this checks wether we are asked a value out of range
     if (k == this->head){
-        return NULL;
+        return 0;
     }
     return &(this->buffer[k]);
 }