aboutsummaryrefslogtreecommitdiff
path: root/scorec.h
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-25 02:41:54 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-25 02:41:54 +0000
commitfc8c1e6b20af4deb3fe755d776216d040a1621d2 (patch)
tree78e4041142f3b41a72eb493c7aee2bff6a4b6c32 /scorec.h
parent7ab234b959f75aa6d063b61f8e2a98adf19f2ee6 (diff)
downloadbullet-lab-remix-fc8c1e6b20af4deb3fe755d776216d040a1621d2.tar.xz
Fix bugs in score file. Preparing for assessment mode.
Diffstat (limited to 'scorec.h')
-rw-r--r--scorec.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/scorec.h b/scorec.h
index ed4a1b7..e5ceb9a 100644
--- a/scorec.h
+++ b/scorec.h
@@ -49,14 +49,14 @@ void Putint(int a)
void Putll(unsigned long long a)
{
unsigned long long c1,c2,c3,c4,c5,c6,c7,c8;
- c1=a&0xFF00000000000000;c1>>=44LL;
- c2=a&0x00FF000000000000;c2>>=40LL;
- c3=a&0x0000FF0000000000;c3>>=36LL;
- c4=a&0x000000FF00000000;c4>>=32LL;
- c5=a&0x00000000FF000000;c5>>=24LL;
- c6=a&0x0000000000FF0000;c6>>=16LL;
- c7=a&0x000000000000FF00;c7>>=8LL;
- c8=a&0x00000000000000FF;
+ c1=a&0xFF00000000000000LL;c1>>=44LL;
+ c2=a&0x00FF000000000000LL;c2>>=40LL;
+ c3=a&0x0000FF0000000000LL;c3>>=36LL;
+ c4=a&0x000000FF00000000LL;c4>>=32LL;
+ c5=a&0x00000000FF000000LL;c5>>=24LL;
+ c6=a&0x0000000000FF0000LL;c6>>=16LL;
+ c7=a&0x000000000000FF00LL;c7>>=8LL;
+ c8=a&0x00000000000000FFLL;
printf("%c%c%c%c%c%c%c%c",(int)c1,(int)c2,(int)c3,(int)c4,(int)c5,(int)c6,(int)c7,(int)c8);
}
TRecord GetTRecord()