summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/deh_main.c6
-rw-r--r--src/i_pcsound.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/deh_main.c b/src/deh_main.c
index b69c049d..7b08ebf4 100644
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -79,7 +79,7 @@ static deh_section_t *section_types[] =
void DEH_Checksum(md5_digest_t digest)
{
md5_context_t md5_context;
- int i;
+ unsigned int i;
MD5_Init(&md5_context);
@@ -98,7 +98,7 @@ void DEH_Checksum(md5_digest_t digest)
static void InitialiseSections(void)
{
- int i;
+ unsigned int i;
for (i=0; i<arrlen(section_types); ++i)
{
@@ -113,7 +113,7 @@ static void InitialiseSections(void)
static deh_section_t *GetSectionByName(char *name)
{
- int i;
+ unsigned int i;
for (i=0; i<arrlen(section_types); ++i)
{
diff --git a/src/i_pcsound.c b/src/i_pcsound.c
index 19d23cfb..2f66f33a 100644
--- a/src/i_pcsound.c
+++ b/src/i_pcsound.c
@@ -62,7 +62,7 @@ static float frequencies[] = {
static void PCSCallbackFunc(int *duration, int *freq)
{
- int tone;
+ unsigned int tone;
*duration = 1000 / 140;