diff options
author | Liubov Dmitrieva <liubov.dmitrieva@intel.com> | 2012-12-20 18:23:10 +0400 |
---|---|---|
committer | Liubov Dmitrieva <ldmitrie@sourceware.org> | 2013-10-23 19:07:36 +0400 |
commit | 144b4bd88eb1c164c4e193cc04f8e29139a15c08 (patch) | |
tree | b8d748746784cda46aac282f68938080f1c5236f | |
parent | e5e177e61eea5dbf33a2bc5e7fc56aeba254b4fa (diff) | |
download | glibc-144b4bd88eb1c164c4e193cc04f8e29139a15c08.tar.gz glibc-144b4bd88eb1c164c4e193cc04f8e29139a15c08.tar.xz glibc-144b4bd88eb1c164c4e193cc04f8e29139a15c08.zip |
Inappropriate code style for Intel MPX at argp/argp-help.c. Fixed.
-rw-r--r-- | argp/argp-help.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c index ace71b48c2..80547859b3 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -867,7 +867,10 @@ hol_append (struct hol *hol, struct hol *more) /* Fix up the short options pointers from HOL. */ for (e = entries, left = hol->num_entries; left > 0; e++, left--) - e->short_options += (short_options - hol->short_options); + { + unsigned long offset = e->short_options - hol->short_options; + e->short_options = (char *)(short_options + offset); + } /* Now add the short options from MORE, fixing up its entries too. */ |