Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
No need to include stdbool.h separately
[apps/agl-service-can-low-level.git]
/
example
/
server.c
diff --git
a/example/server.c
b/example/server.c
index
346e9fb
..
9a9c264
100644
(file)
--- a/
example/server.c
+++ b/
example/server.c
@@
-23,9
+23,9
@@
#include "fileproto.pb.h"
#include "common.h"
#include "fileproto.pb.h"
#include "common.h"
-bool listdir_callback(pb_ostream_t *stream, const pb_field_t *field,
const void
*arg)
+bool listdir_callback(pb_ostream_t *stream, const pb_field_t *field,
void * const
*arg)
{
{
- DIR *dir = (DIR*) arg;
+ DIR *dir = (DIR*)
*
arg;
struct dirent *file;
FileInfo fileinfo;
struct dirent *file;
FileInfo fileinfo;