1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

* smob.c (scm_numsmob): Make this an int, not an scm_sizet, to

avoid signed/unsigned comparisons.
* smob.h (scm_numsmob): Change extern declaration to match.
This commit is contained in:
Jim Blandy 1998-09-05 16:50:33 +00:00
parent a1c95c454b
commit 4e6e211987
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@
* Indexes into this table are used when generating type
* tags for smobjects (if you know a tag you can get an index and conversely).
*/
scm_sizet scm_numsmob;
int scm_numsmob;
scm_smobfuns *scm_smobs;

View file

@ -59,7 +59,7 @@ typedef struct scm_smobfuns
#define SCM_SMOBNUM(x) (0x0ff & (SCM_CAR(x)>>8))
extern scm_sizet scm_numsmob;
extern int scm_numsmob;
extern scm_smobfuns *scm_smobs;