GDT Tutorial: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Reverted edits by Carver (talk) to last revision by Klakap
fixed unbalanced parenthesis, will no longer throw errors
Line 87: Line 87:
{
{
// Check the limit to make sure that it can be encoded
// Check the limit to make sure that it can be encoded
if ((source.limit > 65536) && (source.limit & 0xFFF) != 0xFFF)) {
if ((source.limit > 65536) && ((source.limit & 0xFFF) != 0xFFF)) {
kerror("You can't do that!");
kerror("You can't do that!");
}
}