summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2019-10-24 01:13:54 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2019-10-24 01:13:54 +1100
commit7c8607e42c24e707b369a616ff699b55d14a1675 (patch)
tree9698b24e3fd3d65d65e8da10d00133d6ef553550 /src/lib
parent3d0417eabf8fed4098920aa758f8ea3a5766b2df (diff)
(nw) at least try to be const-correct
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/netlist/plib/ppmf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/ppmf.h b/src/lib/netlist/plib/ppmf.h
index 035606bb984..5875aeb0a13 100644
--- a/src/lib/netlist/plib/ppmf.h
+++ b/src/lib/netlist/plib/ppmf.h
@@ -232,8 +232,8 @@ namespace plib {
}
bool is_set() const {
#if defined(_MSC_VER) || (defined (__INTEL_COMPILER) && defined (_M_X64))
- int *p = reinterpret_cast<int *>(&m_func);
- int *e = p + sizeof(generic_function) / sizeof(int);
+ const int *p = reinterpret_cast<const int *>(&m_func);
+ const int *e = p + sizeof(generic_function) / sizeof(int);
for (; p < e; p++)
if (*p != 0)
return true;