diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2016-02-18 01:30:33 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-02-18 01:30:33 -0800 |
commit | 501b35f234cb605ab576147ba7e20bfb986f7fd1 (patch) | |
tree | 76ecf026928c03ed8da993580c6091324a8e8bea | |
parent | cd7893d02ddba6c10935a36cda6e9d41eac3ac2a (diff) | |
download | nasm-501b35f234cb605ab576147ba7e20bfb986f7fd1.tar.gz |
ofmt pointer in struct ofmt_alias should be const
One more place where an ofmt pointer exists, and it should be
const.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | nasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -849,7 +849,7 @@ struct ofmt { struct ofmt_alias { const char *shortname; const char *fullname; - struct ofmt *ofmt; + const struct ofmt *ofmt; }; extern const struct ofmt *ofmt; |