aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/libtinytac/lmemory.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtinytac/lmemory.c')
-rw-r--r--lib/libtinytac/lmemory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libtinytac/lmemory.c b/lib/libtinytac/lmemory.c
index fce6f5c..4fc87ca 100644
--- a/lib/libtinytac/lmemory.c
+++ b/lib/libtinytac/lmemory.c
@@ -515,7 +515,7 @@ tinytac_set_option(
515 case TTAC_OPT_RANDOM: 515 case TTAC_OPT_RANDOM:
516 TinyTacDebug( TTAC_DEBUG_ARGS, " == %s( %s, TTAC_OPT_RANDOM, invalue )", __func__, (((tt)) ? "tt" : "NULL") ); 516 TinyTacDebug( TTAC_DEBUG_ARGS, " == %s( %s, TTAC_OPT_RANDOM, invalue )", __func__, (((tt)) ? "tt" : "NULL") );
517 idflt = ((tt)) ? tinytac_dflt.opts : TTAC_DFLT_OPTS; 517 idflt = ((tt)) ? tinytac_dflt.opts : TTAC_DFLT_OPTS;
518 ival = ((invalue)) ? *((const int *)invalue) : (idflt & TTAC_RND_METHODS); 518 ival = ((invalue)) ? *((const int *)invalue) : ((int)idflt & (int)TTAC_RND_METHODS);
519 switch(ival) 519 switch(ival)
520 { case TTAC_RAND: TinyTacDebug(TTAC_DEBUG_ARGS, " <= invalue: %s", "TTAC_RAND"); break; 520 { case TTAC_RAND: TinyTacDebug(TTAC_DEBUG_ARGS, " <= invalue: %s", "TTAC_RAND"); break;
521 case TTAC_RANDOM: TinyTacDebug(TTAC_DEBUG_ARGS, " <= invalue: %s", "TTAC_RANDOM"); break; 521 case TTAC_RANDOM: TinyTacDebug(TTAC_DEBUG_ARGS, " <= invalue: %s", "TTAC_RANDOM"); break;