Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/qtlua.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Luque <guillermo.luque.ds@gmail.com>2017-09-27 19:56:55 +0300
committerGitHub <noreply@github.com>2017-09-27 19:56:55 +0300
commit246dce80dfb756f7d23b2226cb31902fe6f59827 (patch)
tree00dc1ec30e865763ee46779e656a5191ec38f8e4
parentf61761909a915afa53b7b0ee96f864791c13e4eb (diff)
Update qtwidget.cpp
-rw-r--r--packages/qtwidget/qtwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/qtwidget/qtwidget.cpp b/packages/qtwidget/qtwidget.cpp
index 8567c69..f1aa536 100644
--- a/packages/qtwidget/qtwidget.cpp
+++ b/packages/qtwidget/qtwidget.cpp
@@ -39,7 +39,7 @@ static QMetaEnum
f_enumerator(const char *s, const QMetaObject *mo)
{
int index = mo->indexOfEnumerator(s);
- if (mo >= 0)
+ if (mo >= (void *)0)
return mo->enumerator(index);
return QMetaEnum();
}