Commits

Anonymous committed 5640f76

- Update get*Lsb signature

  • Participants
  • Parent commits cd9631b
  • Branches GD-2.0

Comments (0)

Files changed (2)

-/* 
+/*
  * io.c
  *
  * Implements the simple I/O 'helper' routines.
 int gdGetByte(int *result, gdIOCtx *ctx)
 {
 	int r;
-	
+
 	r = (ctx->getC)(ctx);
 	if(r == EOF) {
 		return 0;
 	return 1;
 }
 
-int gdGetWordLSB(int *result, gdIOCtx *ctx)
+int gdGetWordLSB(signed short int *result, gdIOCtx *ctx)
 {
 	int high = 0, low = 0;
 
 	return 1;
 }
 
-int gdGetIntLSB(int *result, gdIOCtx *ctx)
+int gdGetIntLSB(signed int *result, gdIOCtx *ctx)
 {
 	int c = 0, r = 0;
 
 int gdGetBuf(void *, int, gdIOCtx *);
 int gdGetByte(int *result, gdIOCtx *ctx);
 int gdGetWord(int *result, gdIOCtx *ctx);
-int gdGetWordLSB(int *result, gdIOCtx *ctx);
+int gdGetWordLSB(signed short int *result, gdIOCtx *ctx);
 int gdGetInt(int *result, gdIOCtx *ctx);
-int gdGetIntLSB(int *result, gdIOCtx *ctx);
+int gdGetIntLSB(signed int *result, gdIOCtx *ctx);
 
 int gdSeek(gdIOCtx *ctx, const int offset);
 long gdTell(gdIOCtx *ctx);