Skip to content

Commit

Permalink
Merge pull request #14 from codefriend/master
Browse files Browse the repository at this point in the history
Linux compilation fixes.
  • Loading branch information
orangeduck committed Nov 1, 2012
2 parents c71f7bd + 2280b34 commit 388cd26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -8,7 +8,7 @@ AR?=ar
LAC_CPPFLAGS= -I./include
LAC_CFLAGS= -std=gnu99 -Wall -Werror -Wno-unused -O3 -g
LAC_LDFLAGS=
LAC_LIBS=
LAC_LIBS= -lm

LIB_C_FILES= $(wildcard src/*.c)
LIB_OBJ_FILES= $(addprefix obj/,$(notdir $(LIB_C_FILES:%.c=%.o)))
Expand Down
2 changes: 1 addition & 1 deletion include/Prelude+.h
Expand Up @@ -5,7 +5,7 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdbool.h>

#include <stdint.h>

/*
** == Syntax ==
Expand Down
4 changes: 2 additions & 2 deletions tests/functional.c
Expand Up @@ -344,7 +344,7 @@ PT_SUITE(suite_functional) {
PT_TEST(test_new_filter) {

lambda(only_some, args) {
return (var)(at(args,0) is Some);
return (var)(intptr_t)(at(args,0) is Some);
}

var values = new(List, 3, Some, Some, None);
Expand Down Expand Up @@ -419,4 +419,4 @@ PT_SUITE(suite_functional) {

}

}
}

0 comments on commit 388cd26

Please sign in to comment.