diff options
author | jcid <devnull@localhost> | 2008-08-12 22:24:37 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-08-12 22:24:37 +0200 |
commit | 50b3b7b3e576bfcb8682ce7d4b0eb15086c214b4 (patch) | |
tree | 8dcfb49b2dc4a3d650bf8cbba160e057ae4fa0bd /dpip | |
parent | 9eba6c5572de8bfe82606206e8a44a403d936f32 (diff) |
- Eliminated gcc 4.2.3 warnings on 64bit OS.
Diffstat (limited to 'dpip')
-rw-r--r-- | dpip/dpip.c | 2 | ||||
-rw-r--r-- | dpip/dpip.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dpip/dpip.c b/dpip/dpip.c index ccd11333..c6212db9 100644 --- a/dpip/dpip.c +++ b/dpip/dpip.c @@ -111,7 +111,7 @@ char *a_Dpip_build_cmd(const char *format, ...) * (stuffing of ' is removed here) * Return value: the attribute value, or NULL if not present or malformed. */ -char *a_Dpip_get_attr(char *tag, size_t tagsize, char *attrname) +char *a_Dpip_get_attr(char *tag, size_t tagsize, const char *attrname) { uint_t i, n = 0, found = 0; char *p, *q, *start, *val = NULL; diff --git a/dpip/dpip.h b/dpip/dpip.h index 8a8623bc..29bb5fcf 100644 --- a/dpip/dpip.h +++ b/dpip/dpip.h @@ -23,7 +23,7 @@ char *a_Dpip_build_cmd(const char *format, ...); * (dpip character escaping is removed here) * Return value: the attribute value, or NULL if not present or malformed. */ -char *a_Dpip_get_attr(char *tag, size_t tagsize, char *attrname); +char *a_Dpip_get_attr(char *tag, size_t tagsize, const char *attrname); #ifdef __cplusplus |