idnode: reduce short ID to 31 bits to its a +ve 32bit signed int
Unfortunately this is what XBMC requires. Why signed I have no idea!
This commit is contained in:
parent
4142ad4366
commit
f942f18aa3
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ idnode_get_short_uuid (const idnode_t *in)
|
|||
{
|
||||
uint32_t u32;
|
||||
memcpy(&u32, in->in_uuid, sizeof(u32));
|
||||
return u32;
|
||||
return u32 & 0x7FFFFFFF; // compat needs to be +ve signed
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue