Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c372959
)
Fix compiler warning on MSVC (issue #57)
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Thu, 7 Feb 2013 15:19:53 +0000
(17:19 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Thu, 7 Feb 2013 15:19:53 +0000
(17:19 +0200)
pb_decode.c
patch
|
blob
|
history
diff --git
a/pb_decode.c
b/pb_decode.c
index
edcbb18
..
b25f3f5
100644
(file)
--- a/
pb_decode.c
+++ b/
pb_decode.c
@@
-529,7
+529,7
@@
bool checkreturn pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[
* are already close to end after decoding.
*/
unsigned req_field_count;
-
uint8
_t last_type;
+
pb_type
_t last_type;
unsigned i;
do {
req_field_count = iter.required_field_index;