diff options
| author | julienmalik <julienmalik@users.noreply.github.com> | 2016-04-28 11:52:45 +0200 |
|---|---|---|
| committer | Matthieu Darbois <mayeut@users.noreply.github.com> | 2016-04-28 11:52:45 +0200 |
| commit | e982d0396607a16ca0c373020cc93449504eb4e8 (patch) | |
| tree | 377c9327a28af339f61b4794ae55fe8c146a97cc /src/bin/jp2 | |
| parent | 66fd497765939d02e8816d6d019839388fffdf79 (diff) | |
Fix implicit float-to-bool conversions (#752)
Diffstat (limited to 'src/bin/jp2')
| -rw-r--r-- | src/bin/jp2/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/jp2/index.c b/src/bin/jp2/index.c index af6e1381..478f556a 100644 --- a/src/bin/jp2/index.c +++ b/src/bin/jp2/index.c @@ -69,7 +69,7 @@ int write_index_file(opj_codestream_info_t *cstr_info, char *index) { return 1; } - if (cstr_info->tile[0].distotile) + if (cstr_info->tile[0].distotile > 0.0) disto_on = 1; else disto_on = 0; |
