Skip to content

Instantly share code, notes, and snippets.

@uhziel
Created June 12, 2020 09:50
Show Gist options
  • Save uhziel/45b40dccbdba3cd1b409b811d898d672 to your computer and use it in GitHub Desktop.
Save uhziel/45b40dccbdba3cd1b409b811d898d672 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <windows.h>
int main() {
DWORD t1 = 4294967295;
DWORD t2 = 2;
DWORD delta = t2 - t1;
std::cout << "DWORD delta:" << delta << std::endl;
unsigned long long lt1 = 4294967295;
unsigned long long lt2 = 2;
unsigned long long ldelta = lt2 - lt1;
std::cout << "unsigned long long delta:" << ldelta << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment