Skip to content

Commit

Permalink
* [oyIM]: fix compiler warning
Browse files Browse the repository at this point in the history
closes issue #9
  • Loading branch information
dcb314 authored and beku committed Apr 25, 2015
1 parent d269a11 commit b6a45ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/oyranos-meta/oyranos_cmm_oyIM_profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ oyStructList_s * oyIMProfileTag_GetValues(
error = oyProfileTag_GetBlock( tag, (oyPointer*)&mem, 0, oyAllocateFunc_);
sig = oyProfileTag_GetType(tag);

error = !mem || !oyProfileTag_GetSize(tag) > 12;
error = (!mem) || (oyProfileTag_GetSize(tag) <= 12);

if(!error)
switch( (uint32_t)sig )
Expand Down

0 comments on commit b6a45ae

Please sign in to comment.