Skip to content

Commit

Permalink
Merge branch 'master' into 517-clean-up-requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis authored Aug 14, 2023
2 parents f8daee8 + c3d152a commit 0a37a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


## Type of change
- [ ] Bug fix
- [ ] Bug fix & code cleanup
- [ ] New feature
- [ ] Documentation update
- [ ] Test update
Expand Down
2 changes: 1 addition & 1 deletion src/pyembed/dlite-python-singletons.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 0a37a1d

Please sign in to comment.