diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 5565051d0..2792e48a9 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,7 +2,7 @@ ## Type of change -- [ ] Bug fix +- [ ] Bug fix & code cleanup - [ ] New feature - [ ] Documentation update - [ ] Test update diff --git a/src/pyembed/dlite-python-singletons.c b/src/pyembed/dlite-python-singletons.c index 696664a55..eb7233047 100644 --- a/src/pyembed/dlite-python-singletons.c +++ b/src/pyembed/dlite-python-singletons.c @@ -208,7 +208,7 @@ PyObject *dlite_python_module_error(DLiteErrors code) /* Create exception */ count = snprintf(excname, sizeof(excname), "dlite.%s", errname); - assert(count > 0 && count < sizeof(excname)); + assert(count > 0 && count < (int)sizeof(excname)); errdescr = dlite_errdescr(code); if (!(exc = PyErr_NewExceptionWithDoc(excname, errdescr, base, NULL)))