|
From: <kin...@us...> - 2023-07-12 19:14:12
|
Revision: 7080
http://sourceforge.net/p/teem/code/7080
Author: kindlmann
Date: 2023-07-12 19:14:11 +0000 (Wed, 12 Jul 2023)
Log Message:
-----------
the functions never did the signed->unsigned switch, even if the struct did
Modified Paths:
--------------
teem/trunk/src/alan/alan.h
teem/trunk/src/alan/methodsAlan.c
Modified: teem/trunk/src/alan/alan.h
===================================================================
--- teem/trunk/src/alan/alan.h 2023-07-12 12:12:58 UTC (rev 7079)
+++ teem/trunk/src/alan/alan.h 2023-07-12 19:14:11 UTC (rev 7080)
@@ -158,9 +158,10 @@
ALAN_EXPORT void alanContextInit(alanContext *actx);
ALAN_EXPORT alanContext *alanContextNew(void);
ALAN_EXPORT alanContext *alanContextNix(alanContext *actx);
-ALAN_EXPORT int alanDimensionSet(alanContext *actx, int dim);
-ALAN_EXPORT int alan2DSizeSet(alanContext *actx, int sizeX, int sizeY);
-ALAN_EXPORT int alan3DSizeSet(alanContext *actx, int sizeX, int sizeY, int sizeZ);
+ALAN_EXPORT int alanDimensionSet(alanContext *actx, unsigned int dim);
+ALAN_EXPORT int alan2DSizeSet(alanContext *actx, unsigned int sizeX, unsigned int sizeY);
+ALAN_EXPORT int alan3DSizeSet(alanContext *actx, unsigned int sizeX, unsigned int sizeY,
+ unsigned int sizeZ);
ALAN_EXPORT int alanTensorSet(alanContext *actx, Nrrd *nten, int oversample);
ALAN_EXPORT int alanParmSet(alanContext *actx, int whichParm, double parm);
Modified: teem/trunk/src/alan/methodsAlan.c
===================================================================
--- teem/trunk/src/alan/methodsAlan.c 2023-07-12 12:12:58 UTC (rev 7079)
+++ teem/trunk/src/alan/methodsAlan.c 2023-07-12 19:14:11 UTC (rev 7080)
@@ -101,7 +101,7 @@
}
int /* Biff: 1 */
-alanDimensionSet(alanContext *actx, int dim) {
+alanDimensionSet(alanContext *actx, unsigned int dim) {
static const char me[] = "alanDimensionSet";
GOT_NULL;
@@ -116,7 +116,7 @@
}
int /* Biff: 1 */
-alan2DSizeSet(alanContext *actx, int sizeX, int sizeY) {
+alan2DSizeSet(alanContext *actx, unsigned int sizeX, unsigned int sizeY) {
static const char me[] = "alan2DSizeSet";
GOT_NULL;
@@ -136,7 +136,8 @@
}
int /* Biff: 1 */
-alan3DSizeSet(alanContext *actx, int sizeX, int sizeY, int sizeZ) {
+alan3DSizeSet(alanContext *actx, unsigned int sizeX, unsigned int sizeY,
+ unsigned int sizeZ) {
static const char me[] = "alan3DSizeSet";
GOT_NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|