Revision
14831
Author
anthm
Date
2009-09-11 11:53:12 -0500 (Fri, 11 Sep 2009)

Log Message

bah

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_cpp.cpp (14830 => 14831)


--- freeswitch/trunk/src/switch_cpp.cpp	2009-09-11 16:10:29 UTC (rev 14830)
+++ freeswitch/trunk/src/switch_cpp.cpp	2009-09-11 16:53:12 UTC (rev 14831)
@@ -1295,19 +1295,19 @@
 				p++;
 				if (*p == '+' || *p == '-') {
 					int step;
-					int64_t target;
+					int32_t target;
 					if (!(step = atoi(p))) {
 						step = 1000;
 					}
 
 					samps = step * (codec->implementation->samples_per_second / 1000);
-					target = fhp->pos + samps;
+					target = (int32_t)fhp->pos + samps;
 
 					if (target < 0) {
 						target = 0;
 					}
 
-					switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "seek to position %d\n", (uint32_t)target);
+					switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "seek to position %d\n", target);
 					switch_core_file_seek(fhp, &pos, target, SEEK_SET);
 
 				} else {