mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
untabified
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@358 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
@@ -154,8 +154,8 @@ public:
|
||||
}
|
||||
|
||||
cp = &data_[position_];
|
||||
data = ((unsigned int)(cp[0])) << 8;
|
||||
data |= ((unsigned int)(cp[1]));
|
||||
data = ((unsigned int)(cp[0])) << 8;
|
||||
data |= ((unsigned int)(cp[1]));
|
||||
position_ += sizeof(data);
|
||||
|
||||
return (data);
|
||||
@@ -175,10 +175,10 @@ public:
|
||||
}
|
||||
|
||||
cp = &data_[position_];
|
||||
data = ((unsigned int)(cp[0])) << 24;
|
||||
data |= ((unsigned int)(cp[1])) << 16;
|
||||
data |= ((unsigned int)(cp[2])) << 8;
|
||||
data |= ((unsigned int)(cp[3]));
|
||||
data = ((unsigned int)(cp[0])) << 24;
|
||||
data |= ((unsigned int)(cp[1])) << 16;
|
||||
data |= ((unsigned int)(cp[2])) << 8;
|
||||
data |= ((unsigned int)(cp[3]));
|
||||
position_ += sizeof(data);
|
||||
|
||||
return (data);
|
||||
|
Reference in New Issue
Block a user