Corretto BYTEMASK in LBYTEMASK

git-svn-id: svn://10.65.10.50/trunk@861 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1995-01-12 18:35:02 +00:00
parent e6f0cbed38
commit 615ef83d1f

View File

@ -13,7 +13,7 @@
#define AGAADR 26953
#define PRASSIADR 26954
#define K1 0x4500
#define BYTEMASK 0x00FF
#define LBYTEMASK 0x00FF
#define UBYTEMASK 0xFF00
#define MAXAUT 49
@ -85,7 +85,7 @@ void TAttivazione_moduli::generate_key()
_serno = SerNo;
ud[0] = _serno;
ud[1] = K1 | (nmod & BYTEMASK);
ud[1] = K1 | (nmod & LBYTEMASK);
long & l = (long &) ud[2];
TDate d(TODAY);