projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-msgs: Open Flow 1.1 and 1.2 Port Status Messages
[openvswitch]
/
lib
/
dynamic-string.c
diff --git
a/lib/dynamic-string.c
b/lib/dynamic-string.c
index e7ad73cd667996bd4f7628ed0bfb7ef34fb6503d..b648eef6549a28ab9c3c1b77e0f1beb1074ddcc3 100644
(file)
--- a/
lib/dynamic-string.c
+++ b/
lib/dynamic-string.c
@@
-311,7
+311,7
@@
ds_cstr(struct ds *ds)
const char *
ds_cstr_ro(const struct ds *ds)
{
- return ds_cstr(
(struct ds *) ds
);
+ return ds_cstr(
CONST_CAST(struct ds *, ds)
);
}
/* Returns a null-terminated string representing the current contents of 'ds',