HCoop
/
clinton
/
Smoothieware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup all libs/ headers and dependent files
[clinton/Smoothieware.git]
/
src
/
libs
/
RingBuffer.h
diff --git
a/src/libs/RingBuffer.h
b/src/libs/RingBuffer.h
index
82d346c
..
3b53025
100644
(file)
--- a/
src/libs/RingBuffer.h
+++ b/
src/libs/RingBuffer.h
@@
-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]);
}