Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
boolean needs to be conveted to int to be written
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Oct 6, 2020
1 parent e62944b commit c3f944c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ThreadedFFI/TFBooleanType.class.st
Expand Up @@ -44,7 +44,9 @@ TFBooleanType >> readValue: anExternalAddress [
]

{ #category : #'reading-writing' }
TFBooleanType >> write: aSmallInteger into: aCollection [
TFBooleanType >> write: aBoolean into: aCollection [

self basicType write: aSmallInteger into: aCollection
self basicType
write: aBoolean asBit
into: aCollection
]

0 comments on commit c3f944c

Please sign in to comment.