projects
/
platform
/
upstream
/
libsmi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d31ccb
)
parser
author
Anas Nashif
<anas.nashif@intel.com>
Sun, 4 Nov 2012 15:12:59 +0000
(07:12 -0800)
committer
Anas Nashif
<anas.nashif@intel.com>
Sun, 4 Nov 2012 15:12:59 +0000
(07:12 -0800)
lib/parser-sming.y
patch
|
blob
|
history
diff --git
a/lib/parser-sming.y
b/lib/parser-sming.y
index
555e570
..
1ec76b3
100644
(file)
--- a/
lib/parser-sming.y
+++ b/
lib/parser-sming.y
@@
-2161,8
+2161,8
@@
attribute_refinedBaseType: OctetStringKeyword optsep_numberSpec_01
classPtr, thisParserPtr);
setAttributeParentType($$, smiHandle->typeBitsPtr);
if ($1) {
- setAttributeList($$, $1);
- for (p =
$1; p; p =
p->nextPtr)
+ setAttributeList($$,
(void *)
$1);
+ for (p =
(void *)$1; p; p = (void *)
p->nextPtr)
((NamedNumber *)(p->ptr))->typePtr = (Type*)$$;
}