projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/common/uuid.h: wrap code in C++ guards
[babeltrace.git]
/
src
/
common
/
common.h
diff --git
a/src/common/common.h
b/src/common/common.h
index c8b9bb8b163b10629b6c781e154affce3f32a301..5266404c934e9e945a129a08c122ecc6cd4f3889 100644
(file)
--- a/
src/common/common.h
+++ b/
src/common/common.h
@@
-442,7
+442,7
@@
ssize_t bt_common_read(int fd, void *buf, size_t count, int log_level)
BT_ASSERT_DBG(count <= SSIZE_MAX);
do {
- ret = read(fd,
buf
+ i, count - i);
+ ret = read(fd,
((char *) buf)
+ i, count - i);
if (ret < 0) {
if (errno == EINTR) {
#ifdef BT_LOG_WRITE_CUR_LVL
This page took
0.023215 seconds
and
4
git commands to generate.