Changeset 1150


Ignore:
Timestamp:
01/09/10 22:47:47 (12 years ago)
Author:
landlord
Message:

Fix fault input in 'module-camd35.c' on 64 bit platforms, thanks to jenova

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-simples.c

    r1137 r1150  
    235235      return ((b[0]<<16) | (b[1]<<8) | b[2]);
    236236    case 4:
    237       return ((b[0]<<24) | (b[1]<<16) | (b[2]<<8) | b[3]);
     237      return (((b[0]<<24) | (b[1]<<16) | (b[2]<<8) | b[3]) & 0xffffffffL);
    238238    default:
    239239      cs_log("Error in b2i, n=%i",n);
Note: See TracChangeset for help on using the changeset viewer.