]> Joshua Wise's Git repositories - netwatch.git/commitdiff
I r retard; should be unsigned long
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 26 Sep 2008 01:44:25 +0000 (21:44 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 26 Sep 2008 01:44:25 +0000 (21:44 -0400)
aseg/counter.c

index 4c53b59b3c65956459d58e8c6669245b8746fae7..88915dcfabae8e3f00c0e2c180563576aabf9e5c 100644 (file)
@@ -69,7 +69,7 @@ void gbl_rls_handler(smi_event_t ev)
 {
        unsigned long ecx;
        
-       ecx = *(unsigned char*)0xAFFD4;
+       ecx = *(unsigned long*)0xAFFD4;
        dologf("ECX was %08x", ecx);
        *(unsigned long*)0xAFFD4 = 0x2BADD00D;
 }
This page took 0.026151 seconds and 4 git commands to generate.