partial fix for float problem

git-svn-id: file:///home/svn/incoming/trunk@3316 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Matt Miller 2006-01-06 02:26:22 +00:00
parent 237af88317
commit d1e8d89f07
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class Generic
first = (randbase/0x10) + 0x50
else
# pick one at "random"
first = randbase/0x10
first = (randbase/0x10)
if (first % 2)
first += 0x40
else
@ -59,7 +59,7 @@ class Generic
end
# now add our new bytes :)
first.chr + second.chr
first.to_i.chr + second.chr
end
def Generic.encode(buf, reg, offset)